Skip to main content

Quantinuum Sphinx

This repo contains templates and static assets that are intended to customize the theme furo.

Using the templates in your Sphinx configuration

Add the following git URL as a submodule in the same directory as conf.py

In conf.py add:

extensions ['quantinuum_sphinx']
html_theme = 'quantinuum_sphinx'
html_favicon = '<path to your favicon file>'

Google Analytics is disabled by default. Enable it only for production builds; all Quantinuum documentation uses the default measurement ID, or it can be overridden per site:

html_theme_options = {
    'enable_analytics': True,
    'analytics_id': 'G-YPQ1FTGDL3',
}

When analytics is enabled, the navigation bundle reads the measurement ID from the rendered theme configuration and initializes Consent Mode and Google Analytics.

The local demo remains analytics-free by default. Opt in when building it with:

./build-demo.sh --analytics

This uses the theme's default measurement ID. To test another GA4 property:

./build-demo.sh --analytics-id G-XXXXXXXXXX

Create a file ./_static/nav-config.js containing:

const navConfig = {
    "navTextLinks": [
        {
            "title": string,
            "href": string,
        },
    ],
    "navProductName": string,
    "navIconLinks": [
        {
            "title": string,
            "href": string,
            "iconImageURL": string (i.e. "_static/assets/github.svg"),
        },
    ],
}

Rebuild your docs and you should have a navbar: Screenshot 2024-07-01 at 14 07 19

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantinuum_sphinx-1.12.0.tar.gz (210.0 kB view details)

Uploaded Source

Built Distribution

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

quantinuum_sphinx-1.12.0-py3-none-any.whl (212.7 kB view details)

Uploaded Python 3

File details

Details for the file quantinuum_sphinx-1.12.0.tar.gz.

File metadata

  • Download URL: quantinuum_sphinx-1.12.0.tar.gz
  • Upload date:
  • Size: 210.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quantinuum_sphinx-1.12.0.tar.gz
Algorithm Hash digest
SHA256 2e393227238b0c0797405bb3f10a4f1c448d91595dae13e29476b1ac128dcf55
MD5 ee64cd247bd85ce4d5124b83d49e350e
BLAKE2b-256 d7e16e3e123c2f8942ee0b395c4b29904e0025f79662bf74d97855b65cc8d810

See more details on using hashes here.

File details

Details for the file quantinuum_sphinx-1.12.0-py3-none-any.whl.

File metadata

  • Download URL: quantinuum_sphinx-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 212.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quantinuum_sphinx-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30eadb3f8003f5e76893ce8b5cfb64f24b491df22bf5ce48e0e9c1697b3d41c2
MD5 c66804be2450eebd741cc5e78313e4ce
BLAKE2b-256 14f777484bec86dee9ad549abbb4343b245943141e535b8ee5d132ba1aadc8aa

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.12.0 This release

2 files

1.11.3

2 files

1.11.2

2 files

1.11.1

2 files

1.11.0

2 files

1.10.0

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.4

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.5

2 files

1.4.4

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 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