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
File details
Details for the file python_docs_theme-2024.10.tar.gz
.
File metadata
- Download URL: python_docs_theme-2024.10.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fec0e742169e54ab5389b3d7c388c369f769fe55afcbe8ecede3eebc4c3ca54 |
|
MD5 | 4c642d40267dc9e3f454685af15f2789 |
|
BLAKE2b-256 | 5d9dcbd2f88c5f4bcbfb0e764a57cbfbd912e58284a7fdb7c1df04de513e1b91 |
Provenance
The following attestation bundles were made for python_docs_theme-2024.10.tar.gz
:
Publisher:
pypi-package.yml
on python/python-docs-theme
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
python_docs_theme-2024.10.tar.gz
- Subject digest:
6fec0e742169e54ab5389b3d7c388c369f769fe55afcbe8ecede3eebc4c3ca54
- Sigstore transparency entry: 144765242
- Sigstore integration time:
- Predicate type:
File details
Details for the file python_docs_theme-2024.10-py3-none-any.whl
.
File metadata
- Download URL: python_docs_theme-2024.10-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0163bccca6a52724bcf08663bbad1d7c9e282f1fa3244bae63d15dddc091ca9a |
|
MD5 | eb3271710ef0e93f637408ac6ef7332e |
|
BLAKE2b-256 | 5e81d53ab2aa594fecf088e23f375d6244b613824a11116427a39d61a49cba04 |
Provenance
The following attestation bundles were made for python_docs_theme-2024.10-py3-none-any.whl
:
Publisher:
pypi-package.yml
on python/python-docs-theme
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
python_docs_theme-2024.10-py3-none-any.whl
- Subject digest:
0163bccca6a52724bcf08663bbad1d7c9e282f1fa3244bae63d15dddc091ca9a
- Sigstore transparency entry: 144765244
- Sigstore integration time:
- Predicate type: