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

Modify the copyright to avoid sphinx auto-correction based on SOURCE_DATE_EPOCH #1789

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

kquick
Copy link
Member

@kquick kquick commented Jan 9, 2025

If SOURCE_DATE_EPOCH is set (which seems to be the case in the CI runner), then there's undocumented Sphinx adjustment of the date in the copyright string. Avoid this by using a syntax that Sphinx will not recognize and change.

See https://github.com/sphinx-doc/sphinx/blob/74ec2204795481402322e75752547571a553cc4e/sphinx/config.py#L721 and https://github.com/sphinx-doc/sphinx/blob/74ec2204795481402322e75752547571a553cc4e/sphinx/config.py#L765-L766

Fixes #1575

@kquick kquick force-pushed the fix_doc_copyright_date branch from b84faec to 11db86f Compare January 9, 2025 23:28
@kquick kquick requested a review from RyanGlScott January 9, 2025 23:34
@kquick kquick merged commit 9e50047 into master Jan 9, 2025
50 checks passed
@kquick kquick deleted the fix_doc_copyright_date branch January 9, 2025 23:58
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.

Fix copyright date in reference manual
2 participants