Results 224 comments of Denis Bitouzé

> Actually, I think you can just add `_build/html` as a cached path as well: > > ```yaml > cache: > paths: > - _build/doctrees > - _build/html > ```...

> The reason why the index is rebuilt is because there is a `toctree` directive. Actually, files (maybe not all) containing such directive will be automatically rebuilt. The problem concerns...

> I cannot reproduce this locally. I'd advise you to check it locally by the way. Indeed, locally, everything works as expected. That's the point: I worked a lot on...

> Here (up to a timestamp shift): > > * the target is `test.html` and has been modified at `09:45`. > > * the template timestamp indicates the latest HTML...

> In the gitlab configuration, you have `pip install sphinx`. Since pip dependencies are not cached, you end up with a fresh `sphinx` package and in particular, the files that...

A suggestion has been made to me outside of here concerning the fact that the date which seems to justify the "out of date" is not that of the source...

> > Why if the incremental way (as can be seen locally) does all and only what is needed? And, as I said, running the whole flow unnecessarily consumes time...

> > Do you mean that what is explained [here](https://docs.gitlab.com/ee/ci/caching/index.html) couldn't apply to the source files of a Sphinx website? > > At least it cannot be applied by default....

> Not entirely sure, but the environment variable `PIP_CACHE_DIR` may not be correctly named. In the latest pip version, I think it should be `PIP_DOWNLOAD_CACHE` instead (so maybe gitlab is...

Well, about the `sphinx-doc` template timestamp, isn't it hopeless to rely on `pip` cache since, anyway, we run a `pip install sphinx`? Wouldn't it be possible to instead rely, not...