Skip to main content
MIT license PyPI package version number Netlify Status

This is an awesome theme and a set of extensions for the Sphinx documentation generator. Using this theme and extension, you can change the look of your documentation website and add a number of useful improvements. See the theme in action at https://sphinxawesome.xyz.

Getting started

You can install the awesome theme from the Python package index and modify the Sphinx configuration file conf.py.

To get started using this theme, follow these steps:

  1. Install the theme as a Python package.

    $ pip install sphinxawesome-theme

    See How to install the theme for more information.

  2. Add the html_theme configuration option to the Sphinx configuration file conf.py.

    html_theme = "sphinxawesome_theme"

    See How to use the theme for more information.

Features

This theme is designed with readability and usability in mind. The theme includes several extensions that enhance the usability:

Awesome code blocks
  • Code blocks have a header section, displaying the optional caption, as well as the programming language used for syntax highlighting

  • The code block headers contain a Copy button, allowing you to copy code snippets to the clipboard.

  • The theme adds two new options to Sphinx’s code-block directive: emphasize-added and emphasize-removed, allowing you to highlight code changes within other highlighted code.

Awesome new directive for highlighting placeholder variables

The theme supports a new directive samp, which is the equivalent of the built-in :samp: interpreted text role. This allows you to highlight placeholder variables in code blocks.

Awesome user experience improvements

These small features make the theme more usable. To name a few:

  • better keyboard navigation:

    • use the Tab key to navigate through all sections on the page

    • use the Skip to Content link to bypass the navigation links

    • use the / key (forward Slash) to focus the search input element

  • better “permalink” mechanism:

    • hovering over an element with a permalink reveals a Link icon

    • selecting the Link icon copies the link to the clipboard

    • notes, warnings and other admonitions have permalinks by default

  • collapsible elements:

    • nested navigation links – all pages are reachable from all other pages

    • code definitions – code object definitions (functions, classes, modules, etc.), for example obtained via the sphinx.ext.autodoc extension.

Metadata

Release files for sphinxawesome-safenet-theme 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxawesome-safenet-theme 0.0.2
File Size Uploaded
sphinxawesome-safenet-theme-0.0.2.tar.gz 336.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxawesome-safenet-theme 0.0.2
File Interpreter ABI Platform
sphinxawesome_safenet_theme-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 683.3 kB

Release files / sphinxawesome-safenet-theme-0.0.2.tar.gz

Download URL sphinxawesome-safenet-theme-0.0.2.tar.gz
Size 336.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eb3a90dc6885acc296158b8a6704e0718430548eb1564fffa6e4c1ac3faeaa8e
BLAKE2b-256 checksum
How to use checksums
af17a634d62314c3f7b5f76dbd3ce3bb434a475d5001b0d77681d05b1ec881c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/2.7.16 Darwin/20.3.0

Release files / sphinxawesome_safenet_theme-0.0.2-py3-none-any.whl

Download URL sphinxawesome_safenet_theme-0.0.2-py3-none-any.whl
Size 347.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af8a70956e6dc2ebd76b98aa25d99204a60388ef3e878955af8814ad47c8cf9a
BLAKE2b-256 checksum
How to use checksums
1361e486de4cfffdab546030d03497cda4db6ab94965b249d55520d776c0b220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/2.7.16 Darwin/20.3.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page