Skip to content
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

BUG: Fix bug with doc rebuilds being forced #12778

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Conversation

larsoner
Copy link
Member

@larsoner larsoner commented Aug 6, 2024

From sphinx-doc/sphinx#12741 I could see:

[build target] template avatars.html is newer (2024-08-06 20:36:50.84) than previous build info (2024-08-06 20:17:22.360), all docs will be out of date

i.e., our make html variants will always do a full rewrite even if we don't update any files because a template file is changed. This PR makes it so that the template file is only replaced/updated if it needs to be.

Just affects devs so I don't think we need a changelog update.

@larsoner
Copy link
Member Author

larsoner commented Aug 6, 2024

Locally I can confirm that this makes the doc rebuild work as expected, and CircleCI rendering looks okay

@drammock drammock enabled auto-merge (squash) August 6, 2024 21:51
@drammock drammock merged commit 6da5055 into mne-tools:main Aug 6, 2024
28 checks passed
@drammock drammock deleted the rebuild branch August 6, 2024 23:27
@larsoner
Copy link
Member Author

larsoner commented Aug 7, 2024

Thanks for the quick review @drammock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants