Skip to content

Commit

Permalink
pythongh-91207: Fix CSS issue building docs for Windows CHM help
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Aug 3, 2022
1 parent 906e450 commit 6387e89
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 @@ -79,6 +79,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 6387e89

Please sign in to comment.