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

[3.10] Override stylesheet fingerprinting for Windows CHM HTML help (gh-91207) #95556

Merged
merged 2 commits into from
Aug 2, 2022

Conversation

CAM-Gerlach
Copy link
Member

@CAM-Gerlach CAM-Gerlach commented Aug 2, 2022

As discussed on #91207 , this overrides for the htmlhelp builder (legacy Windows CHM files) the stylesheet fingerprinting introduced in python/python-docs-theme#79 to fix the caching issue in python/python-docs-theme#78 , which breaks HTML help rendering. htmlhelp support was removed in 3.11, so only targets 3.10.

@zooba I tested this locally and it produced the intended result in the htmlhelp source files while not affecting other builds, but I cannot be 100% sure it fixes the actual problem without testing it in a real Windows HTML help viewer. Are you or someone else able to do so? Thanks!

@CAM-Gerlach
Copy link
Member Author

I guess I'll add a news entry, since this fixes a user-visible bug.

@zooba
Copy link
Member

zooba commented Aug 2, 2022

Looks like that did it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes docs Documentation in the Doc dir OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants