8000 gh-91207: Override stylesheet fingerprinting when building for HTML H… · python/cpython@7c5f13f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c5f13f

Browse files
authored
gh-91207: Override stylesheet fingerprinting when building for HTML Help (GH-95556)
1 parent 8a7bf2d commit 7c5f13f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Doc/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
'root_include_title': False # We use the version switcher instead.
7575
}
7676

77+
# Override stylesheet fingerprinting for Windows CHM htmlhelp to fix GH-91207
78+
# https://github.com/python/cpython/issues/91207
79+
if any('htmlhelp' in arg for arg in sys.argv):
80+
html_style = 'pydoctheme.css'
81+
7782
# Short title used e.g. for <title> HTML tags.
7883
html_short_title = '%s Documentation' % release
7984

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix stylesheet not working in Windows CHM htmlhelp docs.
2+
Contributed by C.A.M. Gerlach.

0 commit comments

Comments
 (0)
0