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.4.tar.gz
.
File metadata
- Download URL: python_docs_theme-2024.4.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9794dd2b352a603a4cefacd903a6acd823814fab9184da39cf0ee163e794d7 |
|
MD5 | ed856bd28bdf3624522d05845c466467 |
|
BLAKE2b-256 | 4bd42e5a6950f8314591dd878aa3ac6725dcb38573b57f0cfd483f8a4aa54492 |
Provenance
File details
Details for the file python_docs_theme-2024.4-py3-none-any.whl
.
File metadata
- Download URL: python_docs_theme-2024.4-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e9e9a4600d168e0753678c5065b0eb31331a9401e930a026bf6de321f088a7 |
|
MD5 | e666f5c1fcea48ea15d8d4daf63b8f81 |
|
BLAKE2b-256 | 4a0f2e6e50f2053d843f09a33fb6bbec0a577b025b0c4244a748080179c5fb1e |