Skip to main content

Sphinx theme for Nengo project documentation pages

Project description

Nengo Sphinx Theme

This repository contains a Sphinx theme for documentation of Nengo projects. It is closely tied to the Nengo website repository both in look-and-feel and in code organization. Most static assets, including the CSS files needed for this theme, are part of the Nengo website repository in order to minimize duplication. Development therefore happens across both repositories. We also discourage the use of this theme by any projects not hosted under the domain.


The initial design of this theme was done in 2019 by a team at Fusionbox, who were lovely to work with.

Release History

20.9 (September 9, 2020)


  • Added tagmanager_id theme option to enable Google Tag Manager tracking. Note that tagmanager_id takes precedence over analytics_id. (#63)

  • Added one_page theme option, which can be set to True for docs that include all content on a single index page. (#59)

  • Added custom 404 page. (#65)

  • Added nengo_sphinx_theme.ext.sourcelinks extension which allows the autodoc source links to point to a different site (like GitHub). (#66)


  • Swapped position of “search” and “version” boxes (so search is at the top and version is at the bottom). (#58)

  • Added notification when viewing the development version of docs. (#62)


  • Versions listed in the dropdown will now be sorted correctly by number rather than string (e.g. 1.10 will come after 1.2). (#58)

  • Remove empty lines from version dropdown. (#58)

1.2.2 (April 14, 2020)


  • nengo_sphinx_theme.ext.resolvedefaults will not touch signatures unless they contain a Default value. (#54)

  • nengo_sphinx_theme.ext.resolvedefaults will also resolve module objects to the module name (rather than the file path). (#57)

1.2.1 (March 19, 2019)


  • Added the autoautosummary_change_modules config option to nengo_sphinx_theme.ext.autoautosummary, which allows classes/functions documented with autoautosummary or automodule to be moved to a different nominal namespace. (#52)

  • Added nengo_sphinx_theme.ext.backoff, which monkeypatches the Sphinx HTTP request functionality to add exponential backoff. (#52)

1.2.0 (November 14, 2019)


  • Added an extension to handle redirecting old HTML pages to new ones. (#48)

1.1.0 (November 5, 2019)


  • Added an extension with the AutoAutoSummary directive, which will automatically generate Sphinx AutoSummaries for modules and classes. (#45)

1.0.3 (September 13, 2019)


  • Updated header and footer to match changes to (#41)

1.0.2 (August 5, 2019)


  • Fixed the search box, which was hanging for many search terms. (#28, #39)

1.0.1 (July 16, 2019)


  • Fixed a missing divider in the documentation drop-down menu.

1.0.0 (July 16, 2019)


  • The look-and-feel of the theme was completely redone. (#35)

  • This project is now licensed with the Nengo license. (#35)

0.12.0 (May 29, 2019)


  • Added nengo_sphinx_theme.ext.resolvedefaults extension that will automatically fill in the value of nengo.Default values in __init__ signatures. (#33)

0.11.0 (May 20, 2019)


  • Added a theme option to enable Google Analytics tracking by providing an ID. (#30)


  • Fixed an issue in which the dropdown overlay prevented clicks after it had been hidden from mousing outside of it. (#29)

0.10.0 (March 30, 2019)


  • Added body class to main div for compatibility with sphinx 2.0. (#26)

0.9.0 (March 25, 2019)


  • Added search box to sidebar. (#25)

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

nengo-sphinx-theme-20.9.tar.gz (29.3 kB view hashes)

Uploaded source

Built Distribution

nengo_sphinx_theme-20.9-py3-none-any.whl (20.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page