asterion_sphinx_style
Sphinx style for Asterion public documentation.
A plain sphinx extension, usable in any sphinx project:
# conf.py
extensions = ["asterion_sphinx_style"]
It configures sphinx-rtd-theme rather than shipping a theme of its own, so everything a reader already knows about Read the Docs navigation still holds.
Install
pip install asterion-sphinx-style
If a project already builds its extensions list elsewhere, rebind rather than mutate:
extensions = [*extensions, "asterion_sphinx_style"]
Overriding
Everything is applied only when the project left it unset, so your conf.py always wins:
html_logo = "_static/my-logo.png" # yours, not Asterion's
html_theme = "furo" # the style stops configuring the theme
One caveat: html_theme reads as alabaster when a project has not chosen one, so a project that deliberately picks alabaster is indistinguishable from one that picked nothing, and the style will switch it to sphinx_rtd_theme. Any other theme is respected.
Palette
Sampled from the logo wordmark and AsterionReport.cls. Contrast is against white, WCAG 2.1.
| Role | Hex | Ratio | |
|---|---|---|---|
| Brand blue | #0832F6 |
7.51:1 | AAA — safe for links and body text |
| Deep blue | #030189 |
15.33:1 | navigation header, admonition titles |
| Navy | #010042 |
19.45:1 | hover and visited states |
| Alert red | #DC0000 |
5.19:1 | danger and error admonitions only |
What it does, and what it deliberately does not
Sets, when unset: html_theme, html_logo, html_favicon, and the theme's style_nav_header_background. With sphinxcontrib.mermaid loaded, it also sets mermaid_light_theme, mermaid_dark_theme and mermaid_init_config to a branded base theme, the same in both modes: the theme's page stays white when the reader's system is dark, so a dark diagram would sit on a white page. Adds one stylesheet and its own static directory (appended, so your _static keeps precedence).
It does not repaint the theme's navigation machinery — the current-page tree, expand/collapse states, light/dark alternation. That is a tuned system, and a style that rewrites it ends up fighting the theme on every release. Only surfaces that read as brand are touched.
Design rules
A style is typically installed once and applied to every version of a site, including releases cut years earlier. Three rules follow:
- Fill, never clobber — a project's own settings always win.
- Absolute paths, appended — packaged assets by absolute path;
html_static_pathappended to onbuilder-inited, never assigned. - Never warn — doc builds commonly run under
-W, where one warning on one old page fails an entire site.
Versioning
The git tag is the only version that exists; pyproject.toml is dynamic via hatch-vcs. A release is git tag vX.Y.Z && git push --tags.
License
Apache-2.0. See LICENSE. The Asterion Robotics logo and name are trademarks of Asterion Robotics and are not covered by that grant.
Metadata
Release files for asterion-sphinx-style 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asterion_sphinx_style-0.2.0.tar.gz | 39.9 kB | With provenance | Details for asterion_sphinx_style-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| asterion_sphinx_style-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for asterion_sphinx_style-0.2.0-py3-none-any.whl |
Total release size: 78.2 kB
Release files / asterion_sphinx_style-0.2.0.tar.gz
| Download URL | asterion_sphinx_style-0.2.0.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d0275664cd85e9a30d12c84443478e8f9eaeaad5da57c632612476080355c63
|
|
BLAKE2b-256 checksum How to use checksums |
c300c5bced0b08f534c9c0b5517d8d1f38b4df762bbac001d0a69a5014d2a7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / asterion_sphinx_style-0.2.0-py3-none-any.whl
| Download URL | asterion_sphinx_style-0.2.0-py3-none-any.whl |
|---|---|
| Size | 38.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b44cce60a7663e228e0f45799e8738ebc75f2224c97068d9ca0f7d0b0baed745
|
|
BLAKE2b-256 checksum How to use checksums |
36d82d54fc7a0edefcaac84f28a379f56989269a2bb90b260a41b841b6490e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for asterion-sphinx-style 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for asterion_sphinx_style-0.2.0.tar.gz
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 Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.