Skip to content
Snippets Groups Projects
Unverified Commit ac3bf615 authored by CAM Gerlach's avatar CAM Gerlach Committed by GitHub
Browse files

gh-91207: Fix CSS bug in Windows CHM help file and add deprecation message (GH-95607)

parent 906e4509
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,13 @@
'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'
print("\nWARNING: Windows CHM Help is no longer supported.")
print("It may be removed in the future\n")
# Short title used e.g. for <title> HTML tags.
html_short_title = '%s Documentation' % release
......
Fix stylesheet not working in Windows CHM htmlhelp docs
and add warning that they are deprecated.
Contributed by C.A.M. Gerlach.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment