diff options
author | CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | 2022-08-02 19:04:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 19:04:12 (GMT) |
commit | 7c5f13f391ad9112bb238f2bbccca749f4b7923d (patch) | |
tree | 685a218a52a8df46e43cb3d0c7ae9d8f622acabb /Doc/conf.py | |
parent | 8a7bf2d28cdb3579cd33a9c9deb9b5d30eacb086 (diff) | |
download | cpython-7c5f13f391ad9112bb238f2bbccca749f4b7923d.zip cpython-7c5f13f391ad9112bb238f2bbccca749f4b7923d.tar.gz cpython-7c5f13f391ad9112bb238f2bbccca749f4b7923d.tar.bz2 |
gh-91207: Override stylesheet fingerprinting when building for HTML Help (GH-95556)
Diffstat (limited to 'Doc/conf.py')
-rw-r--r-- | Doc/conf.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 01243de..8fdff79 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -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 |