wagtail / sphinx_wagtail_theme

Sphinx theme for Wagtail

Home Page:https://sphinx-wagtail-theme.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sphinx Wagtail theme

CI status PyPI version License: MIT

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

# include the theme in the list of extensions to be loaded
extensions = ['sphinx_wagtail_theme', …]

# select the theme
html_theme = 'sphinx_wagtail_theme'
  • See the documentation for more usage instructions

Development

Getting started

Release process

Checklist:

  • CONTRIBUTORS.md is updated
  • CHANGELOG.md is updated
  • setup.cfg is updated (see version)
  • Everything is committed, clean checkout
  • ~/.pypirc has a username and password (token)
  • Add a git tag and a GitHub release once completed

With an active virtual environment:

python -m pip install --upgrade -r requirements.txt
make clean
make clean-frontend
npm ci
npm run build
prerelease
git tag -a N.N.N -m "N.N.N"
git push origin N.N.N
python -m build
python -m twine upload --repository pypi dist/*
postrelease

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.

Thank you to Vercel for hosting the theme’s preview sites.

About

Sphinx theme for Wagtail

https://sphinx-wagtail-theme.readthedocs.io/

License:MIT License


Languages

Language:SCSS 41.0%Language:HTML 33.8%Language:JavaScript 11.7%Language:Makefile 7.7%Language:Python 5.8%