Skip to main content

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. 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:

  1. Fill, never clobber — a project's own settings always win.
  2. Absolute paths, appended — packaged assets by absolute path; html_static_path appended to on builder-inited, never assigned.
  3. 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.1.0

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

Source distribution (sdist)

Source distribution for asterion-sphinx-style 0.1.0
File Size Uploaded
asterion_sphinx_style-0.1.0.tar.gz 38.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asterion-sphinx-style 0.1.0
File Interpreter ABI Platform
asterion_sphinx_style-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 76.0 kB

Release files / asterion_sphinx_style-0.1.0.tar.gz

Download URL asterion_sphinx_style-0.1.0.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1634caf7aeaf531101d51e829f96684ea63ec488910f46164a0ab25e3c440357
BLAKE2b-256 checksum
How to use checksums
6aa2697886cfb09f234a8b19f259a39e778f064694701a969f7f797c4d7d5d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release files / asterion_sphinx_style-0.1.0-py3-none-any.whl

Download URL asterion_sphinx_style-0.1.0-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3b806acacd477a7758e4574c528f7529f7d86ffa590894957052ee67483e6b0
BLAKE2b-256 checksum
How to use checksums
ac3683749af7d563a1f159bd9c77e1e9b6a64d745b05ac04d1d1642e848f3644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 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