Sphinx Lumina Theme
A crisp, responsive Sphinx theme with readable typography, dark mode, and instant search. Self-hosted fonts, minimal setup, no external CDN calls.
Live demo & documentation · Configuration · Contributing
Features
- Light and dark modes with a system-aware toggle.
- Instant search powered by Pagefind, with
⌘K/Ctrl+Kaccess. - Responsive navigation with section and version switchers, a collapsible sidebar, and a mobile page outline.
- Rich content with MyST Markdown, syntax highlighting, and one-click code copying.
- Interactive API docs with OpenAPI support, request panels, and curl copying.
- Customizable branding through
conf.py: colors, logos, navigation, and social links.
Quick Start
Requires Python 3.12+ and Sphinx 8.0+. Pagefind search also needs Node.js so the build can create its search index.
pip install sphinx-lumina-theme
Using uv? Run uv add sphinx-lumina-theme instead.
Set the theme in your conf.py:
html_theme = "lumina"
Build your docs:
sphinx-build docs docs/_build/html
With uv, prefix the build command with uv run. Open docs/_build/html/index.html to view the result.
New to Sphinx? Start with the installation guide, including project creation and MyST setup.
Upgrading from 1.x? Review the Lumina 2 migration notes if you use custom CSS or templates.
Contributing
See the contributing guide for local setup, asset builds, and tests. Bug reports and pull requests are welcome.
License
Release files for sphinx-lumina-theme 2.1.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 | |
|---|---|---|---|
| sphinx_lumina_theme-2.1.2.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_lumina_theme-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / sphinx_lumina_theme-2.1.2.tar.gz
| Download URL | sphinx_lumina_theme-2.1.2.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9049354da7c0fd291c8c396415a7083b938da63c0662ca9e2d22d0a86a57b46b
|
|
BLAKE2b-256 checksum How to use checksums |
b8c7f008e2b79f9efd8574366d3c22eff526b783dcf642a6c4907acdfc6afbb9
|
| 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 Sep 21, 2026.
Transparency logRelease files / sphinx_lumina_theme-2.1.2-py3-none-any.whl
| Download URL | sphinx_lumina_theme-2.1.2-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddaee2a90ec9ac4d846b052ee1cc82bc89cb8807fe90c2cb8a93a9057be9d610
|
|
BLAKE2b-256 checksum How to use checksums |
7c163a2d54228aceeccdba394373d254c47b35caee496dd96a3f7177f8f831d7
|
| 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 Sep 21, 2026.
Transparency log