Docs: changed sphinx theme from classic to sphinx_rtd_theme

Dependency: pip install sphinx-rtd-theme
This commit is contained in:
gd 2022-11-09 09:35:59 +02:00
parent 14460c6b6d
commit 6913148d99
2 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,3 @@
div.body p, div.body dd, div.body li, div.body blockquote {
text-align: left !important;
-moz-hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
hyphens: manual;
}
/*
* css to override sphinx theme
*/

View File

@ -103,14 +103,20 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'classic'
html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {"sidebarwidth": "300px"}
html_theme_options = {
'navigation_depth': -1,
'sticky_navigation': False,
'includehidden': True,
'prev_next_buttons_location': 'both',
'github_url': "https://github.com/MusicPlayerDaemon/"
}
# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []