Set and configure Sphinx theme "readthedocs"

- Sticky Nnavigation (default but make sure)
- Top left area white, to fit with beets logo background
- Title "beets"
- Logo only false, we want to see title
- Version true, we want to see which beets version we are looking at
- Issue: The latter two are invisible, would require custom CSS!!!
This commit is contained in:
J0J0 Todos 2023-10-21 09:44:20 +02:00
parent 9e972fe8ae
commit ff7d5f7c3a

View file

@ -59,10 +59,14 @@ man_pages = [
),
]
# Options for Alabaster theme
html_theme = 'alabaster'
# Options for rtd theme
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
"fixed_sidebar": True,
"sidebar_collapse": True, # only expands active chapter in sidebar
'sticky_navigation': True,
'collapse_navigation': True,
"style_nav_header_background": "#ffffff",
'logo_only': False,
'display_version': True,
}
html_title = "beets"
html_logo = "assets/beets_logo.png"