Skip to main content

An awesome theme for the Sphinx documentation generator

Project description

Sphinx awesome theme

MIT license PyPI version Netlify Deploy Lint

Create beautiful and awesome documentation websites with Sphinx. See how the theme looks like on sphinxawesome.xyz.

Get started

To use this theme for your documentation, install it via pip and add it to your Sphinx configuration.

  1. Install the theme as a Python package:

    pip install sphinxawesome-theme
    

    See How to install the theme for more information.

  2. Set html_theme in the Sphinx configuration file conf.py:

    html_theme = "sphinxawesome_theme"
    

    See How to load the theme for more information.

You can change some parts of this theme. See How to configure the theme for more information.

Features

With this awesome theme, you can build readable, functional, and beautiful documentation websites. Compared to other Sphinx themes, these features enhance the user experience:

Awesome code blocks

The code block shows the language of the code in a header. Each code block has a Copy button for easy copying. This theme enhances Sphinx's code-block directive with:

  • emphasize-added: highlight lines that should be added to code
  • emphasize-removed: highlight lines that should be removed from the code
  • emphasize-placeholder: PLACEHOLDER: highlight PLACEHOLDER in the code block to emphasize placeholder text the user should replace.

Collapsible elements

Nested navigation links allow you to reach all pages from all other pages. You can make code object definitions, like methods, classes, or modules, collapsible as well, to focus on one block at a time.

Better headerlinks

Clicking the link icon after a header or caption automatically copies the URL to the clipboard.

Better keyboard navigation

Use the / key to start searching. Use the Tab key to quickly skip through all sections on the page. Use the Space key to expand or collapse items in the navigation menu or in code definitions.

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

sphinxawesome-theme-3.2.2.tar.gz (451.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinxawesome_theme-3.2.2-py3-none-any.whl (469.5 kB view details)

Uploaded Python 3

File details

Details for the file sphinxawesome-theme-3.2.2.tar.gz.

File metadata

  • Download URL: sphinxawesome-theme-3.2.2.tar.gz
  • Upload date:
  • Size: 451.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Linux/5.11.0-1025-azure

File hashes

Hashes for sphinxawesome-theme-3.2.2.tar.gz
Algorithm Hash digest
SHA256 9f8fd0d4c5f29f8a59bf983108b831bead7f61083c5602a018567379b7fecdd5
MD5 5de8082aee7810b8d8d356a55092c853
BLAKE2b-256 714ecc61fe3c4fad6773cfa03a4f0c1d68a8b8e7624c7dd4c86b63e6a7c67543

See more details on using hashes here.

File details

Details for the file sphinxawesome_theme-3.2.2-py3-none-any.whl.

File metadata

  • Download URL: sphinxawesome_theme-3.2.2-py3-none-any.whl
  • Upload date:
  • Size: 469.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.1 Linux/5.11.0-1025-azure

File hashes

Hashes for sphinxawesome_theme-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfce0cb630d40630c8623ebed7808336e973da37b5cdd4e57a7629be232f6147
MD5 09aff3de12a9e1b91bd192a896fbfe5d
BLAKE2b-256 acbb2e8b9b9af8690015e3ec1c19771ded0b9c37e48cf1da75392735049b8b34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page