-
Notifications
You must be signed in to change notification settings - Fork 8
Description
π Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
π Description of the bug
Hi,
I have been investigating how to accelerate doc build for pydpf-core using a cache of the build folder generated by Sphinx.
While trying to make this work I have built the doc locally quite a few times and consistently gotten the following message at the beginning of the build:
loading pickled environment... The configuration has changed (15 options: 'autoapi_dirs', 'autoapi_ignore', 'autoapi_keep_files', 'autoapi_options', 'autoapi_own_page_level', ...)
see for example here
I have now tried a lot of things to try and make Sphinx see that the configuration has in fact not changed.
The issue with this is that it tells Sphinx to regenerate everything as if the config had changed.
What I realized though is that these 15 options marked as changed every time I run are options managed by ansys-sphinx-theme's autoapi extension (such as here).
Is that something you are aware of?
is there a way for me to not get the environment marked as having changed between two consecutive doc builds (with no change in between them of course).
I'd like Sphinx to limit API generation to only what has been modified.
Thanks!
π Steps to reproduce
Reach out to me so I can demonstrate.
But if it comes from ansys-sphinx-theme
then anyone should see this message between two consecutive runs of Sphinx on their doc.
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
261
π Which Python version are you using?
3.12
π¦ Installed packages
ansys-sphinx-theme[autoapi]==1.5.2
enum-tools[sphinx]==0.13.0
graphviz==0.20.1
imageio==2.37.0
imageio-ffmpeg==0.6.0
pypandoc==1.15
pytest-sphinx==0.6.3
pyvista==0.45.2
sphinx==8.2.3
sphinx-copybutton==0.5.2
sphinx-gallery==0.19.0
sphinx-jinja==2.0.2
sphinx-notfound-page==1.1.0
sphinx-reredirects==0.1.6
sphinx_design==0.6.1
sphinxcontrib-napoleon==0.7
vtk==9.4.2