Skip to content

Configure sphinx-build to separate doctrees cache from output HTML#1067

Merged
m3d merged 1 commit into
masterfrom
feature/fix-no-changes-hg-pages
Jun 21, 2026
Merged

Configure sphinx-build to separate doctrees cache from output HTML#1067
m3d merged 1 commit into
masterfrom
feature/fix-no-changes-hg-pages

Conversation

@m3d

@m3d m3d commented Jun 21, 2026

Copy link
Copy Markdown
Member

Specifying the '-d' option ensures intermediate doctree pickle files are generated outside of the published HTML output directory. This prevents deployment of intermediate build caches and eliminates binary git noise on the gh-pages branch when documentation content hasn't changed.

m3d: motivation is to skip unnecessary gh-pages update whenever we merge ANY pull-request (independently on documentation change).

Specifying the '-d' option ensures intermediate doctree pickle files are generated outside of the published HTML output directory. This prevents deployment of intermediate build caches and eliminates binary git noise on the gh-pages branch when documentation content hasn't changed.
@m3d m3d requested a review from tajgr June 21, 2026 10:58

@tajgr tajgr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@m3d m3d merged commit 0c24f61 into master Jun 21, 2026
2 checks passed
@m3d m3d deleted the feature/fix-no-changes-hg-pages branch June 21, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants