Docs: changed sphinx theme from classic to sphinx_rtd_theme
Dependency: pip install sphinx-rtd-theme
This commit is contained in:
parent
14460c6b6d
commit
6913148d99
|
@ -1,7 +1,3 @@
|
||||||
div.body p, div.body dd, div.body li, div.body blockquote {
|
/*
|
||||||
text-align: left !important;
|
* css to override sphinx theme
|
||||||
-moz-hyphens: manual;
|
*/
|
||||||
-ms-hyphens: manual;
|
|
||||||
-webkit-hyphens: manual;
|
|
||||||
hyphens: manual;
|
|
||||||
}
|
|
10
doc/conf.py
10
doc/conf.py
|
@ -103,14 +103,20 @@ todo_include_todos = False
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# 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
|
# 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
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
#
|
#
|
||||||
# html_theme_options = {}
|
# 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.
|
# Add any paths that contain custom themes here, relative to this directory.
|
||||||
# html_theme_path = []
|
# html_theme_path = []
|
||||||
|
|
Loading…
Reference in New Issue