Hi Denis,
The main issue is that the website is added to a branch (gh-pages) and
is versioned.
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).
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).
By fetching only the master branch you should be better.
got it, thanks
Then, building docs shouldn't take too long. What duration are you
experiencing?
just reading sources it's more than 10 minutes while building the
documentation is still running (so more or less 30 minutes). I don't
understand if/where I can skip sources and compile just a small small
part of the documentation since what I want to to is only theme related.
Another approach is to do a PR on the repo, you will have a built
example at https://qgis.org/pyqgis/master_PRXX
<https://qgis.org/pyqgis/master_PRXX> (replace XX) when it's finished.
and this can be done also to the forked repository right?
I believe it would require a bit of love to improve this workflow and
drop the gh-pages branch.
I hope this helps a bit.
Thanks Denis
Matteo
Cheers,
Denis
Le mar. 13 déc. 2022 à 08:14, matteo via QGIS-Developer
<qgis-developer@lists.osgeo.org <mailto:qgis-developer@lists.osgeo.org>>
a écrit :
Hi devs,
I've some small ideas to enhance the readthedocs theme of the pyqgis
documentation and I want make some local test before making a pull
request.
I've cloned this repository (around 7GB?!):
https://github.com/qgis/pyqgis <https://github.com/qgis/pyqgis>
and then I followed the instruction of the Readme file. It seems
building but it is literally taking ages (./build-docs.sh
-qgis-build-dir /home/matteo/dev/qgis-master/).
Am I doing something wrong or can I use some shortcut to build it? I'm
just playing with some css and eventually the config.py.in
<http://config.py.in> file.
Cheers and thanks for any advice
Matteo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org <mailto:QGIS-Developer@lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
<https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
<https://lists.osgeo.org/mailman/listinfo/qgis-developer>
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer