Skip to main content

A simple theme for a Sphinx documentation

Project description

MIT license PyPI package version number Netlify Status

This is a simple but awesome theme for the Sphinx documentation generator.

Installation

Install the theme as a Python package:

pip install sphinxawesome-theme

To use the theme, set html_theme in the Sphinx configuration file conf.py:

html_theme = "sphinxawesome_theme"

Configuration

To show also entries in the navigation menu from toctree directives with the :hidden: option, add the following setting to the Sphinx configuration file conf.py.

html_theme_options = {"nav_include_hidden": True}

Including :hidden: in a toctree directive makes Sphinx include the documents, but not print the list of links to the documents on the current page. This is useful when navigation links are shown elsewhere, for example in a menu on the left side. The default is nav_include_hidden=False in order to be compatible with other themes.

Limitations

This theme is designed to be simple. Some features are not (or not yet) available.

  • Zero custom theme variables to modify styles.

  • API documentation has not been tested. Some styles are missing.

  • Not all docutils/Sphinx roles have styles. There are a lot of them.

  • Internationalization was neglected.

Documentation

Read the documentation and see how the theme looks on the demo page

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

sphinxawesome-theme-1.0.1.tar.gz (835.5 kB view hashes)

Uploaded Source

Built Distribution

sphinxawesome_theme-1.0.1-py3-none-any.whl (860.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