mirror of
https://github.com/beetbox/beets.git
synced 2026-01-18 22:22:18 +01:00
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:
parent
9e972fe8ae
commit
ff7d5f7c3a
1 changed files with 8 additions and 4 deletions
12
docs/conf.py
12
docs/conf.py
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue