Kentigern
Kentigern is a modern Sphinx HTML theme built on Bootstrap 5. It provides a three-column layout (site-wide table of contents / content / page-local table of contents), a dark-mode toggle with prefers-color-scheme detection, code-copy buttons, and mobile-friendly responsive design via an off-canvas navigation drawer.
Features
Bootstrap 5 — no jQuery dependency.
Three-column layout — global site TOC on the left, local page TOC on the right, collapsing gracefully on smaller viewports.
Dark mode — follows the OS preference automatically; a toggle button lets users override it. The preference is persisted in localStorage.
Code copy buttons — every code block gets a one-click copy button.
Off-canvas mobile TOC — the full site TOC is accessible on mobile via a “Contents” button in the navbar.
Accessibility — skip-navigation link, ARIA labels, correct DOM order.
Steps extension — kentigern.ext.steps provides a steps directive for numbered step-by-step procedures.
Webpack build pipeline — all CSS and JS are compiled from SCSS/ES source and bundled with webpack.
Installation
Install from PyPI:
pip install kentigern
Then add to your Sphinx conf.py:
extensions = [
# optional — add the steps directive
"kentigern.ext.steps",
]
html_theme = "kentigern"
Configuration
Kentigern supports the following html_theme_options keys:
- navbar_title
Brand title shown in the navbar. Defaults to the project name.
- navbar_links
List of extra links to add to the navbar, as a list of (title, url, external) triples.
- globaltoc_depth
Maximum depth to render in the global site TOC. Defaults to -1 (unlimited).
Changelog
See HISTORY.rst for the full version history.
Licence
Kentigern is released under the MIT licence.
Metadata
Release files for kentigern 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kentigern-0.4.2.tar.gz | 764.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kentigern-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / kentigern-0.4.2.tar.gz
| Download URL | kentigern-0.4.2.tar.gz |
|---|---|
| Size | 764.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a65e42ec08d4b7f26ee88221279963ab0750c9f86b132ec7d30ff24dbc8df829
|
|
BLAKE2b-256 checksum How to use checksums |
a1377e9eec04635e4dc0af334e4ae67448d9986c0cbdad25395e1624713d34e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / kentigern-0.4.2-py3-none-any.whl
| Download URL | kentigern-0.4.2-py3-none-any.whl |
|---|---|
| Size | 649.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14649b7965b965943616ae11f30759c2de7fcf0625dc467b5c816eb1800bc2c9
|
|
BLAKE2b-256 checksum How to use checksums |
404cce639854face4a646175652acdba21633b06f59b8f5b7edafb24029cdc81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log