Sphinx theme for Enthought projects, derived from the Scipy theme.
Install this as a normal Python package. The theme files are in the package data.
In your project's conf.py
file, do the following:
import enthought_sphinx_theme html_theme_path = [enthought_sphinx_theme.theme_path] html_theme = 'enthought'
The theme takes the followin options in the html_theme_options
configuration variable:
rootlinks
List of tuples
(url, link_name)
to show in the beginning of the breadcrumb list on the top left. You can override it by defining an edit_link block insearchbox.html
.sidebar
One of
"left"
,"right"
,"none"
. Defines where the sidebar should appear.navigation_links
True
orFalse
. Whether to display "next", "prev", "index", etc. links.use_default_logo
True
orFalse
. Whether to use the default Enthought logo in the sidebar. If thehtml_logo
configuration parameter is non-empty, it will override this. Set this toFalse
andhtml_logo
to empty only if you want no logo at all.use_default_favicon
True
orFalse
. Whether to use the default Enthought logo as the favicon. If thehtml_favicon
configuration parameter is non-empty, it will override this. Set this toFalse
andhtml_favicon
to empty only if you want no favicon at all.
The following blocks are defined:
layout.html:header
Block at the top of the page, for logo etc.