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

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.2
File Size Uploaded Provenance Actions
doxtr_html_theme_core-0.4.2.tar.gz 44.9 kB With provenance Details for doxtr_html_theme_core-0.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 83.3 kB

Release files / doxtr_html_theme_core-0.4.2.tar.gz

Download URL doxtr_html_theme_core-0.4.2.tar.gz
Size 44.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3516c31815e9030bf43be9055c411504f0488816bcfd5079d78b86f94ea1716a
BLAKE2b-256 checksum
How to use checksums
dc0025536faded04c1fe5b7b75960071d5c1399cf1fdf356d000149dd4c14f35
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 3, 2026.

Transparency log

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

Download URL doxtr_html_theme_core-0.4.2-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68e506fa33a65a8841c95f65c3dfe498b2f0139d7296146f7ca429ec2dfa0ff7
BLAKE2b-256 checksum
How to use checksums
9cedf3a908585268e3c46dbb5e8ba636dd67b0c87c3035bfb566bb9cd00c0d8a
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 3, 2026.

Transparency log

Security for doxtr-html-theme-core 0.4.2

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.2.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 3, 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