Now use the awesome 'Cloud' sphinx theme
This commit is contained in:
parent
6d6b8e0ffb
commit
be1d431182
23
doc/conf.py
23
doc/conf.py
@ -96,13 +96,22 @@ pygments_style = 'sphinx'
|
|||||||
|
|
||||||
# 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 = 'agogo'
|
#html_theme = 'agogo'
|
||||||
html_theme_options = {
|
#html_theme_options = {
|
||||||
"pagewidth": "60em",
|
# "pagewidth": "60em",
|
||||||
"documentwidth": "40em",
|
# "documentwidth": "40em",
|
||||||
}
|
#}
|
||||||
|
|
||||||
html_style = 'wsme.css'
|
#html_style = 'wsme.css'
|
||||||
|
|
||||||
|
import cloud_sptheme as csp
|
||||||
|
|
||||||
|
html_theme = 'cloud'
|
||||||
|
html_theme_path = [csp.get_theme_dir()]
|
||||||
|
|
||||||
|
html_theme_options = {
|
||||||
|
"roottarget": "index"
|
||||||
|
}
|
||||||
|
|
||||||
# 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
|
||||||
@ -117,7 +126,7 @@ html_style = 'wsme.css'
|
|||||||
html_title = "WSME %s" % release
|
html_title = "WSME %s" % release
|
||||||
|
|
||||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
# A shorter title for the navigation bar. Default is the same as html_title.
|
||||||
#html_short_title = None
|
#html_short_title = "WSME"
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top
|
# The name of an image file (relative to this directory) to place at the top
|
||||||
# of the sidebar.
|
# of the sidebar.
|
||||||
|
@ -178,6 +178,7 @@ commands=
|
|||||||
|
|
||||||
[testenv:doc]
|
[testenv:doc]
|
||||||
deps=
|
deps=
|
||||||
|
cloud_sptheme
|
||||||
Sphinx
|
Sphinx
|
||||||
|
|
||||||
changedir=
|
changedir=
|
||||||
|
1
tox.ini
1
tox.ini
@ -99,6 +99,7 @@ commands =
|
|||||||
|
|
||||||
[testenv:doc]
|
[testenv:doc]
|
||||||
deps =
|
deps =
|
||||||
|
cloud_sptheme
|
||||||
Sphinx
|
Sphinx
|
||||||
changedir =
|
changedir =
|
||||||
doc
|
doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user