Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,23 @@

html_theme = 'alabaster'

html_theme_options = {
"description": "Backported and experimental type hints for Python",
# Make the sidebar "sticky" so that is stays visible when scrolling.
# Also makes the sidebar appear at the top of the page on mobile.
"fixed_sidebar": True,
}

html_sidebars = {
'**': [
'about.html',
'searchfield.html',
'localtoc.html',
]
}

# Don't include object entries (e.g. functions, classes) in the table of contents.
toc_object_entries = False

class MyTranslator(HTML5Translator):
"""Adds a link target to name without `typing_extensions.` prefix."""
Expand Down
Loading