Skip to main content

This extension is deprecated.

canonical-sphinx 0.7.0 will be the final major release of this extension. It will receive security and bug fixes through the end of the 27.04 release cycle, when development will cease entirely.

All Canonical Sphinx projects should now use the Ulwazi theme. Please make the switch at your nearest convenience. Guidance is available in Switch to the Ulwazi theme.

canonical-sphinx

Extension and theme to create great Canonical-branded documentation.

Description

This project is a Sphinx extension that simplifies the installation of a group of Sphinx extensions recommended by Canonical. It also provides a design override of the Furo theme for the creation of Canonical-branded documentation.

This extension provides a minimal installation by default, and also offers a [full] optional installation which provides significant additional functionality for Sphinx-based documentation. This extension, when installed and added to extensions within the configuration file of a Sphinx deployment, bundles various extensions together and sets default configuration values, eliminating the need to list the extensions in the extensions section of the Sphinx configuration and reducing the need to configure the bundled extensions.

The default extensions bundled into canonical-sphinx are:

The optional extensions bundled into canonical-sphinx using the [full] optional installation are:

Using canonical-sphinx

To use canonical-sphinx in your project:

  1. Install canonical-sphinx.

    This can be done via PyPI, or by using the package available in the canonical-sphinx repository.

  2. Add canonical-sphinx to your Sphinx configuration file.

    For example:

    extensions = [
       ...,
       "canonical_sphinx",
    ]
    

    Do not add any of the bundled extensions to this configuration. They will be automatically added when Sphinx generates documentation.

  3. (Optional) Add additional configuration to your Sphinx configuration file if you need to overwrite any defaults configured by canonical-sphinx.

Using a subset of packages

canonical-sphinx will identify and configure defaults for any package from the [full] installation.

For example, using the following requirements.txt file:

canonical-sphinx
sphinx-copybutton
sphinxcontrib-jquery

With canonical-sphinx included in your project's conf.py extensions:

extensions = [
    "canonical_sphinx",
]

Sphinx will configure and add defaults for sphinx-copybutton and sphinxcontrib-jquery. The rest of the extensions from the optional [full] installation will be ignored.

Metadata

Release files for canonical-sphinx 0.7.1

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

Source distribution (sdist)

Source distribution for canonical-sphinx 0.7.1
File Size Uploaded
canonical_sphinx-0.7.1.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for canonical-sphinx 0.7.1
File Interpreter ABI Platform
canonical_sphinx-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / canonical_sphinx-0.7.1.tar.gz

Download URL canonical_sphinx-0.7.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
d1fe3ae96ea238a4c4ff3d5844e296686e9a1a225fd57442503d5d5f463c82e9
BLAKE2b-256 checksum
How to use checksums
8cea9300b45a69d8191e31258e9526e93a917b196f035f91021e3c80ff4612bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / canonical_sphinx-0.7.1-py3-none-any.whl

Download URL canonical_sphinx-0.7.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8c22a7fa579a1760f105acf7e039af3c4d9faa2d5f2f4a11bb5154950f29cf24
BLAKE2b-256 checksum
How to use checksums
018efa0598fe3bcf5e4cb1a6bf8f1a2b30d364affb1ccf225c6c49d1fd287f06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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