-
Notifications
You must be signed in to change notification settings - Fork 25
ci(doc): add doc build caching #2342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
❌ 2 Tests Failed:
View the full list of 2 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
The documentation for this pull request will be available at https://dpf.docs.pyansys.com/pull/2342. Please allow some time for the documentation to be deployed. |
…] extension" This reverts commit 544630e.
@Revathyvenugopal162 pinging you FYI, this PR tries to use a few sphinx tricks to improve config change detection. |
The goal is to accelerate doc building using cached Sphinx build files whenever possible.
The caching logic is to retrieve, by order of priority:
The cache should only contain files where Sphinx can detect changes:
The cache could be based on the hash of a lock file, as differences in installed
graphics
dependencies could result in changes despite Sphinx not detecting changes in the actual scripts.That means however the cache will only work if no changes in dependencies.