<div dir="ltr">you might need to copy the folder, same than for _templates:<div>see <a href="https://github.com/qgis/pyqgis/search?q=_templates">https://github.com/qgis/pyqgis/search?q=_templates</a></div><div><br></div><div>otherwise, look at <a href="https://github.com/qgis/pyqgis/pull/89/files?w=1">https://github.com/qgis/pyqgis/pull/89/files?w=1</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 13 déc. 2022 à 09:12, matteo <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Denis,<br>
<br>
> yes you can limit what you build<br>
> see <a href="https://github.com/qgis/pyqgis/blob/master/scripts/build-docs.sh" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis/blob/master/scripts/build-docs.sh</a> <br>
> <<a href="https://github.com/qgis/pyqgis/blob/master/scripts/build-docs.sh" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis/blob/master/scripts/build-docs.sh</a>><br>
> <br>
> either use --package core/gui/… or --class QgsVector (which will work as <br>
> QgsVector*)<br>
<br>
thanks, it works as expected!<br>
<br>
Last (hopefully :) ) question: I'm adding some custom css in the <br>
_static/css/custom.css file. I've also added:<br>
<br>
html_static_path = ['_static']<br>
html_css_files = [<br>
'css/custom.css',<br>
]<br>
<br>
in the <a href="http://conf.py.in" rel="noreferrer" target="_blank">conf.py.in</a> file, but when compiling sphinx is complaining:<br>
<br>
WARNING: html_static_path entry '_static' does not exist<br>
<br>
Do you have any idea why this is happening?<br>
<br>
Cheers and thanks again<br>
<br>
Matteo<br>
> <br>
> <br>
> <br>
> > Another approach is to do a PR on the repo, you will have a built<br>
> > example at <a href="https://qgis.org/pyqgis/master_PRXX" rel="noreferrer" target="_blank">https://qgis.org/pyqgis/master_PRXX</a><br>
> <<a href="https://qgis.org/pyqgis/master_PRXX" rel="noreferrer" target="_blank">https://qgis.org/pyqgis/master_PRXX</a>><br>
> > <<a href="https://qgis.org/pyqgis/master_PRXX" rel="noreferrer" target="_blank">https://qgis.org/pyqgis/master_PRXX</a><br>
> <<a href="https://qgis.org/pyqgis/master_PRXX" rel="noreferrer" target="_blank">https://qgis.org/pyqgis/master_PRXX</a>>> (replace XX) when it's finished.<br>
> <br>
> and this can be done also to the forked repository right?<br>
> <br>
> <br>
> you would need to enable the pages on your repo, I am not sure this will <br>
> work out-of-the-box.<br>
> <br>
> <br>
> > I believe it would require a bit of love to improve this workflow<br>
> and<br>
> > drop the gh-pages branch.<br>
> ><br>
> > I hope this helps a bit.<br>
> <br>
> Thanks Denis<br>
> <br>
> Matteo<br>
> <br>
> <br>
> > Cheers,<br>
> > Denis<br>
> ><br>
> ><br>
> ><br>
> > Le mar. 13 déc. 2022 à 08:14, matteo via QGIS-Developer<br>
> > <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a><br>
> <mailto:<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>><br>
> <mailto:<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a><br>
> <mailto:<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>>>><br>
> > a écrit :<br>
> ><br>
> > Hi devs,<br>
> ><br>
> > I've some small ideas to enhance the readthedocs theme of the<br>
> pyqgis<br>
> > documentation and I want make some local test before making a<br>
> pull<br>
> > request.<br>
> ><br>
> > I've cloned this repository (around 7GB?!):<br>
> ><br>
> > <a href="https://github.com/qgis/pyqgis" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis</a> <<a href="https://github.com/qgis/pyqgis" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis</a>><br>
> <<a href="https://github.com/qgis/pyqgis" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis</a> <<a href="https://github.com/qgis/pyqgis" rel="noreferrer" target="_blank">https://github.com/qgis/pyqgis</a>>><br>
> ><br>
> > and then I followed the instruction of the Readme file. It seems<br>
> > building but it is literally taking ages (./build-docs.sh<br>
> > -qgis-build-dir /home/matteo/dev/qgis-master/).<br>
> ><br>
> > Am I doing something wrong or can I use some shortcut to<br>
> build it? I'm<br>
> > just playing with some css and eventually the <a href="http://config.py.in" rel="noreferrer" target="_blank">config.py.in</a><br>
> <<a href="http://config.py.in" rel="noreferrer" target="_blank">http://config.py.in</a>><br>
> > <<a href="http://config.py.in" rel="noreferrer" target="_blank">http://config.py.in</a> <<a href="http://config.py.in" rel="noreferrer" target="_blank">http://config.py.in</a>>> file.<br>
> ><br>
> > Cheers and thanks for any advice<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>
> <mailto:<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a>><br>
> <mailto:<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> <mailto:<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a>>><br>
> > List info:<br>
> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>><br>
> > <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> <<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:<br>
> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>><br>
> > <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> <<a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>>><br>
> ><br>
> <br>
</blockquote></div>