mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-91207: Override stylesheet fingerprinting when building for HTML Help (GH-95556)
This commit is contained in:
parent
8a7bf2d28c
commit
7c5f13f391
2 changed files with 7 additions and 0 deletions
|
|
@ -74,6 +74,11 @@ html_theme_options = {
|
|||
'root_include_title': False # We use the version switcher instead.
|
||||
}
|
||||
|
||||
# Override stylesheet fingerprinting for Windows CHM htmlhelp to fix GH-91207
|
||||
# https://github.com/python/cpython/issues/91207
|
||||
if any('htmlhelp' in arg for arg in sys.argv):
|
||||
html_style = 'pydoctheme.css'
|
||||
|
||||
# Short title used e.g. for <title> HTML tags.
|
||||
html_short_title = '%s Documentation' % release
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
Fix stylesheet not working in Windows CHM htmlhelp docs.
|
||||
Contributed by C.A.M. Gerlach.
|
||||
Loading…
Add table
Add a link
Reference in a new issue