Skip to main content

doxtr-html-theme-core

Base Sphinx HTML theme (doxtr_core / doxtr_html_theme_core) built on doxtr-theme-core with semantic design tokens (--dd-*), light-dark() + persistent color-scheme toggle, WCAG AA contrast guardrails, native <dialog> mobile drawer, CSS Anchor/Scrollspy TOC, copy-code commands, and cross-builder .. stylebox:: styling.

Installation

pip install doxtr-html-theme-core

Loading the Theme

Just like pydata_sphinx_theme, no extensions entry is needed for HTML builds:

# conf.py
html_theme = "doxtr_core"  # or "doxtr_html_theme_core"

You can also list "doxtr_html_theme_core" in extensions explicitly or let doxtr-theme-core / doxtr-theme-aubergine orchestrate it for multi-format builds.

Mixing & Matching per Format

Combine doxtr_core HTML with another PDF or EPUB theme (for example doxtr_pdf_theme_aubergine):

extensions = ["doxtr_pdf_theme_aubergine"]
html_theme = "doxtr_core"

If another HTML theme (html_theme = "pydata_sphinx_theme") is active alongside doxtr_theme_*, doxtr-html-theme-core leaves the active HTML theme untouched.

Sharing One Color Theme Across Layouts

Pair doxtr_core HTML with a brand palette or custom doxtr_semantic_palette so HTML, PDF, and EPUB share identical colors even when using different layouts:

extensions = ["doxtr_theme_aubergine"]  # provides Aubergine palette & PDF theme
html_theme = "doxtr_core"               # keep Core HTML layout in Aubergine colors

Or configure your own palette via doxtr_semantic_palette:

extensions = ["doxtr_pdf_theme_aubergine"]
html_theme = "doxtr_core"
doxtr_semantic_palette = {
    "primary": "#0F4C81",
    "secondary": "#1D4ED8",
    "accent": "#EA580C",
    "dark": {"primary": "#93C5FD", "page": "#0F172A"},
}

Preview

Rendered from doxamples.

Light Mode Dark Mode
Core HTML Light Core HTML Dark

Metadata

Release files for doxtr-html-theme-core 0.4.1

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

Source distribution (sdist)

Source distribution for doxtr-html-theme-core 0.4.1
File Size Uploaded Provenance Actions
doxtr_html_theme_core-0.4.1.tar.gz 45.0 kB With provenance Details for doxtr_html_theme_core-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for doxtr-html-theme-core 0.4.1
File Interpreter ABI Platform Actions
doxtr_html_theme_core-0.4.1-py3-none-any.whl Python 3 none any Details for doxtr_html_theme_core-0.4.1-py3-none-any.whl

Total release size: 83.3 kB

Release files / doxtr_html_theme_core-0.4.1.tar.gz

Download URL doxtr_html_theme_core-0.4.1.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5e8c3624da77403bfd033abaf8fe4cf4fbba1deaccdba5fb6d3e38cfe0260f7b
BLAKE2b-256 checksum
How to use checksums
c844b234f49f14e042a420706ed5ec7b5998929508674094b9678f757ab1a585
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 Dec 2, 2026.

Transparency log

Release files / doxtr_html_theme_core-0.4.1-py3-none-any.whl

Download URL doxtr_html_theme_core-0.4.1-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8b1a8c72d4fad91ed7336d8746b128f44fc82de027b866f4c99a27637c04b01
BLAKE2b-256 checksum
How to use checksums
8dc135a55d365ef5c44a70cedc3350bedaf94790557b27747aadf872cd71b0ad
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 Dec 2, 2026.

Transparency log

Security for doxtr-html-theme-core 0.4.1

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.

Select from 2 files

Attestation for doxtr_html_theme_core-0.4.1.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 Dec 2, 2026.

Transparency log

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

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