<div dir="ltr">Hi Matteo,<div><br></div><div>The main issue is that the website is added to a branch (gh-pages) and is versioned.</div><div>From time to time, I squash the commits and force push to avoid such a large size (obviously, it's been a while since I didn't do it).</div><div>I am a bit reluctant at squashing / force pushing directly from the workflow as any error would mean losing the pages (potentially losing the older versions).</div><div><br></div><div>By fetching only the master branch you should be better.</div><div>Then, building docs shouldn't take too long. What duration are you experiencing?</div><div><br></div><div>Another approach is to do a PR on the repo, you will have a built example at <a href="https://qgis.org/pyqgis/master_PRXX">https://qgis.org/pyqgis/master_PRXX</a> (replace XX) when it's finished.</div><div><br></div><div>I believe it would require a bit of love to improve this workflow and drop the gh-pages branch.</div><div><br></div><div>I hope this helps a bit.</div><div><br></div><div>Cheers,</div><div>Denis</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 13 déc. 2022 à 08:14, matteo via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</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 devs,<br>
<br>
I've some small ideas to enhance the readthedocs theme of the pyqgis <br>
documentation and I want make some local test before making a pull 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><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 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> 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>
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><br>
</blockquote></div>