Sphinx Wagtail theme contains all files required to build a Sphinx extension that provides the theme.
Installation
pip install sphinx-wagtail-theme
Usage
Select the "Sphinx Wagtail theme" in the conf.py
file of a Sphinx
extensions = ['sphinx_wagtail_theme', …]
html_theme = 'sphinx_wagtail_theme'
- See the documentation for more usage instructions
Development
Getting started
Release process
This section is for maintainer reference.
- Check all relevant changes since the last release are documented in
CHANGELOG.md
- Check if there are any new contributors and add them to
CONTRIBUTORS.md
- Update the version number in
setup.cfg
. The version number should follow Semantic Versioning. - Commit and push the changes
- Create and push a new tag with the version number, prefixed with
v
. For example, v1.2.3
- In the GitHub repository, create a new release against the tag you just pushed.
- Once the release is created, the CI will automatically publish the new version to PyPI.
Credits
Sphinx Wagtail theme is based on Sphinx Typo3 theme which is based on t3SphinxThemeRtd which is based on the Read the Docs Sphinx theme.