A Sphinx theme and directive set bringing the Hextra aesthetic to Sphinx, with sphinx-needs integration.
Project description
sphinx-hextra
A Sphinx HTML theme and component directive set that brings the aesthetic of the Hextra Hugo theme to the Sphinx documentation ecosystem, with first-class styling for sphinx-needs.
sphinx-hextra is a derivative work. Visual design, component concepts, and CSS structure are ported from Hextra (MIT, © Imfing and contributors). The upstream LICENSE is preserved verbatim at licenses/HEXTRA-LICENSE. See CREDITS.md for full attribution.
Install
uv add sphinx-hextra
Use
In your conf.py:
extensions = ["myst_parser", "sphinx_hextra"]
html_theme = "sphinx_hextra"
Features (v0.1)
- Hextra-inspired layout, typography, and dark mode
- Directives:
hextra-callout,hextra-cards+hextra-card,hextra-tabs,hextra-steps,hextra-filetree - Landing-page directives:
hextra-hero,hextra-feature-grid,hextra-feature - Automatic sphinx-needs integration styling (when
sphinx_needsis enabled) - Zero Node.js dependency for end users — CSS is precompiled
Credits
This project stands on the shoulders of Hextra. Every design decision traces back to their work. Bugs here are ours; beauty is theirs.
License
MIT. See LICENSE (sphinx-hextra) and licenses/HEXTRA-LICENSE (upstream Hextra).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_hextra-0.1.1.tar.gz.
File metadata
- Download URL: sphinx_hextra-0.1.1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c086b35d92afb45708b11c8d318a0a38b7292313e7a1e4ea348ddc1aa62c61d
|
|
| MD5 |
41ed2db6aa3897d8d021f39cceae9c51
|
|
| BLAKE2b-256 |
fb448a30e2246396f4e90b1d611dd714e84211d1dca9f75a07e89eb46856a4ac
|
Provenance
The following attestation bundles were made for sphinx_hextra-0.1.1.tar.gz:
Publisher:
release.yml on patdhlk/sphinx-hextra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_hextra-0.1.1.tar.gz -
Subject digest:
8c086b35d92afb45708b11c8d318a0a38b7292313e7a1e4ea348ddc1aa62c61d - Sigstore transparency entry: 1569160106
- Sigstore integration time:
-
Permalink:
patdhlk/sphinx-hextra@bab614063dadea48933dbe15e6f0d89fe96762ae -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/patdhlk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bab614063dadea48933dbe15e6f0d89fe96762ae -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinx_hextra-0.1.1-py3-none-any.whl.
File metadata
- Download URL: sphinx_hextra-0.1.1-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df0bd1723aa1899902145d0a29455f6efa35d9de8f91debbca05f9285ecff5f3
|
|
| MD5 |
08948a518074dbf1929b1c2b66741739
|
|
| BLAKE2b-256 |
a4f3699fc413c5ad62dcdb48e28391073a7a70388f63fd1d0f7cf46f3e999ec7
|
Provenance
The following attestation bundles were made for sphinx_hextra-0.1.1-py3-none-any.whl:
Publisher:
release.yml on patdhlk/sphinx-hextra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_hextra-0.1.1-py3-none-any.whl -
Subject digest:
df0bd1723aa1899902145d0a29455f6efa35d9de8f91debbca05f9285ecff5f3 - Sigstore transparency entry: 1569160146
- Sigstore integration time:
-
Permalink:
patdhlk/sphinx-hextra@bab614063dadea48933dbe15e6f0d89fe96762ae -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/patdhlk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bab614063dadea48933dbe15e6f0d89fe96762ae -
Trigger Event:
push
-
Statement type: