mirror of https://github.com/python/cpython.git
gh-91207: Override stylesheet fingerprinting when building for HTML Help (GH-95556)
This commit is contained in:
parent
8a7bf2d28c
commit
7c5f13f391
|
@ -74,6 +74,11 @@
|
||||||
'root_include_title': False # We use the version switcher instead.
|
'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.
|
# Short title used e.g. for <title> HTML tags.
|
||||||
html_short_title = '%s Documentation' % release
|
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…
Reference in New Issue