Skip to main content

Sphinx theme for Enthought products

Project description

Sphinx theme for Enthought projects, derived from the Scipy theme.

Installation

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'

Theme options

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 in searchbox.html.

  • sidebar

    One of "left", "right", "none". Defines where the sidebar should appear.

  • navigation_links

    True or False. Whether to display “next”, “prev”, “index”, etc. links.

  • use_default_logo

    True or False. Whether to use the default Enthought logo in the sidebar. If the html_logo configuration parameter is non-empty, it will override this. Set this to False and html_logo to empty only if you want no logo at all.

  • use_default_favicon

    True or False. Whether to use the default Enthought logo as the favicon. If the html_favicon configuration parameter is non-empty, it will override this. Set this to False and html_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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enthought_sphinx_theme-0.7.3.tar.gz (255.8 kB view hashes)

Uploaded Source

Built Distribution

enthought_sphinx_theme-0.7.3-py3-none-any.whl (217.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page