Skip to content

Commit

Permalink
pythongh-91207: Override stylesheet fingerprinting for Windows CHM HT…
Browse files Browse the repository at this point in the history
…ML help
  • Loading branch information
CAM-Gerlach committed Aug 2, 2022
1 parent 4eab100 commit 7299fcf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
'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

Expand Down

0 comments on commit 7299fcf

Please sign in to comment.