Skip to main content

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_needs is 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


Download files

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

Source Distribution

sphinx_hextra-0.1.1.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

sphinx_hextra-0.1.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

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

Hashes for sphinx_hextra-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8c086b35d92afb45708b11c8d318a0a38b7292313e7a1e4ea348ddc1aa62c61d
MD5 41ed2db6aa3897d8d021f39cceae9c51
BLAKE2b-256 fb448a30e2246396f4e90b1d611dd714e84211d1dca9f75a07e89eb46856a4ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_hextra-0.1.1.tar.gz:

Publisher: release.yml on patdhlk/sphinx-hextra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for sphinx_hextra-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df0bd1723aa1899902145d0a29455f6efa35d9de8f91debbca05f9285ecff5f3
MD5 08948a518074dbf1929b1c2b66741739
BLAKE2b-256 a4f3699fc413c5ad62dcdb48e28391073a7a70388f63fd1d0f7cf46f3e999ec7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_hextra-0.1.1-py3-none-any.whl:

Publisher: release.yml on patdhlk/sphinx-hextra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page