The Sphinx theme for the CPython docs and related projects
Project description
Python Docs Sphinx Theme
This is the theme for the Python documentation.
Note that when adopting this theme, you're also borrowing an element of the trust and credibility established by the CPython core developers over the years. That's fine, and you're welcome to do so for other Python community projects if you so choose, but please keep in mind that in doing so you're also choosing to accept some of the responsibility for maintaining that collective trust.
To use the theme, install it into your docs build environment via pip
(preferably in a virtual environment).
Configuration options
To use this theme, add the following to conf.py
:
-
html_theme = 'python_docs_theme'
-
html_sidebars
, defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars
Preview
See a demo of the CPython docs using this theme:
The kitchen sink is a showcase of every Sphinx feature:
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
Built Distribution
Hashes for python_docs_theme-2024.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e38f0f5b227acfe267b54807b1cf93d6047e8f765bb338af50f1e8fb4423bb |
|
MD5 | 5b2d426345c7c361a76d9dd89e981025 |
|
BLAKE2b-256 | 3a7a29dea47fc939994672c58ae5c31be30e57b84c9bb1b61e17e81f980c6f61 |