mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Set and configure Sphinx theme book
- Reduce base font a bit by custom.css - Collapse nav - Title "beets" below logo
This commit is contained in:
parent
957a6e445c
commit
71873b66de
2 changed files with 9 additions and 2 deletions
3
docs/_static/css/custom.css
vendored
Normal file
3
docs/_static/css/custom.css
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
html {
|
||||
--pst-font-size-base: 0.9rem;
|
||||
}
|
||||
|
|
@ -59,8 +59,8 @@ man_pages = [
|
|||
),
|
||||
]
|
||||
|
||||
# Options for pydata theme
|
||||
html_theme = 'pydata_sphinx_theme'
|
||||
# Options for book theme
|
||||
html_theme = 'sphinx_book_theme'
|
||||
html_theme_options = {
|
||||
'collapse_navigation': True,
|
||||
"logo": {
|
||||
|
|
@ -69,3 +69,7 @@ html_theme_options = {
|
|||
}
|
||||
html_title = "beets"
|
||||
html_logo = "assets/beets_logo.png"
|
||||
html_static_path = ['_static']
|
||||
html_css_files = [
|
||||
'css/custom.css',
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue