An awesome theme for the Sphinx documentation generator
Project description
Sphinx awesome theme
Create beautiful and awesome documentation websites with Sphinx. See how the theme looks like on sphinxawesome.xyz.
Get started
-
Install the theme as a Python package:
pip install sphinxawesome-theme
For more information, see Install the theme.
-
Add
sphinxawesome_theme
as an HTML theme in your Sphinx configuration fileconf.py
:html_theme = "sphinxawesome_theme"
For more information, see Add your theme.
-
Recommended: add the bundled extension for more awesome code blocks:
# conf.py extensions += ["sphinxawesome_theme.highlighting"]
Features
With the Awesome Theme, you can build readable, functional, and beautiful documentation websites.
Awesome code blocks
-
Code block have a Copy button for copying the code.
-
If you load the bundled
sphinxawesome_theme.highlighting
, you can use these additional options in yourcode-block
directives:emphasize-added
. Highlight lines that should be addedemphasize-removed
. Highlight lines that should be removedemphasize-text: TEXT
. HighlightTEXT
in the code block
Better headerlinks
Clicking the link icon after headers or captions automatically copies the URL to the clipboard.
DocSearch
This theme supports the sphinx-docsearch
extension
to replace the built-in search with Algolia DocSearch.
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 sphinxawesome_theme-5.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b08a4b8a26b3e8e2f35ab9dffd253a1860978f57a29ec3c8b361baffa8a4ed4 |
|
MD5 | 75b303bc185909e055d8ae7c53ec44c1 |
|
BLAKE2b-256 | 1e2378b3423889dd6e79c868685e9472ce39281c1090a73f468fddf757664ff1 |
Hashes for sphinxawesome_theme-5.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470f82e9a492b23abced404876d85726b42d0f86996dccf782a73c00fbad3595 |
|
MD5 | 9272d90190e2a3d8657d1991cd1b9459 |
|
BLAKE2b-256 | 19012f0a294d53cc50f8d2f4f6289f39848dc3013ced4dfdb971057bb4f6663a |