<div dir="ltr"><div>We don't need to change the algorithms titles, we just need to add an extra anchor with the algorithm ID before it:<br><br><span style="font-family:monospace">.. _nearestneighbouranalysis:<br><br>Nearest neighbour analysis<br>--------------------------<br><br>Description<br>...........<br><br><put algorithm description here></span><br><br></div>This produces a url like we need (assuming that we rename the rst files, of course.<br><div><br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr">matteo <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> escreveu no dia sexta, 9/02/2018 às 10:21:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
> yes, but I think we first have to rename the rst files like:<br>
><br>
> <a href="https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/user_manual/processing_algs/qgis/vector_analysis_tools.rst" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/user_manual/processing_algs/qgis/vector_analysis_tools.rst</a><br>
><br>
> to<br>
><br>
> <a href="https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/user_manual/processing_algs/qgis/vectoranalysis.rst" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/user_manual/processing_algs/qgis/vectoranalysis.rst</a><br>
><br>
> so the output html name becomes 'vectoranalysis.html'. Apparently<br>
> filenames earlier where chosen for readability, but we now use the<br>
> 'groupid' (looking at Nyalls pull<br>
> <a href="https://github.com/qgis/QGIS/pull/6298/commits/2d1e9188f18c40028b5501fe4c719808e8e20800" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/pull/6298/commits/2d1e9188f18c40028b5501fe4c719808e8e20800</a>)<br>
<br>
yes, and this is an "easy" fix, just a couple of renamings<br>
<br>
> And THEN we need to make sure the section names/headers indeed are the<br>
> same as generated by the helpurl code, so the anchor is ok:<br>
><br>
> <a href="https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#nearestneighbouranalysis" rel="noreferrer" target="_blank">https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#nearestneighbouranalysis</a><br>
><br>
> So as Nyall is saying: using the algorithm id instead of the name.<br>
<br>
while this is a not-so-small work, but easy to do it.<br>
<br>
The only thing I'm a little concerned is readability of the final html<br>
file.<br>
<br>
Changing the name of the alrotihm/section from Nearest neighbour<br>
analysis to nearestneighbouranalysis will bring us to have a<br>
concatenated name for all algorithms, right?<br>
<br>
I'm definitely not a sphinx guru, but is there the change to have a kind<br>
of :meta: tag before each section and use this :meta: to build the URL?<br>
<br>
Thanks Richard for the feedback<br>
<br>
Matteo<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com">http://sigsemgrilhetas.wordpress.com</a></div><a href="http://gisunchained.wordpress.com">http://gisunchained.wordpress.com</a><br></div></div>