Le 24/07/23 à 14h19, Denis Bitouzé a écrit : > I’m building a (French LaTeX) FAQ > <https://dbitouze.gitlab.io/test-faq-fr/index.html> as a static website > with Sphinx-doc <https://www.sphinx-doc.org/>. In order to let other people > easily contribute, I'm trying to regenerate the HTML pages corresponding to > the changed source files thanks to: > > - CD/CI > - GitLab pages > > on a gilab.com instance. > > That works well, except that even if only a single source file is changed, > the HTML pages of all the source files are regenerated and, since they are > more than 1200 source files, that takes too much time (more than 15 > minutes).
BTW, I followed (with some needed adaptations) the step by step “Tutorial: Build your first project”: ┌──── │ https://www.sphinx-doc.org/en/master/tutorial/index.html └──── including “Appendix: Deploying a Sphinx project online”, following the “GitHub Pages” route in order to see whether my problem is GitLab-specific or not: ┌──── │ https://github.com/dbitouze/lumache └──── As you can see here: ┌──── │ https://github.com/dbitouze/lumache/commit/c4bcbd9c5fc239edb603e80a31b15e22ff574768 └──── only the `index.rst` file was changed but the build performed by the CI/CD: ┌──── │ https://github.com/dbitouze/lumache/actions/runs/5691725103/job/15427441621#step:4:25 └──── writes all the other source files: - `api` - `generated/lumache` - `index` - `usage` (The deploy steps fails but that's not the point.) Hence my problem is not a GitLab-specific one and seems to affect all CI/CD ways of deploying a Sphinx project online :( -- Denis -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/87y1j09qoc.fsf%40example.com.