Skip to main content

doxtr-epub-theme-core

Core accessible Sphinx EPUB3 theme powered by doxtr-theme-core.

Features

  • Consumes brand specs (ColorPalette, FontSpec, BrandConfig) from doxtr-theme-core
  • Emits EPUB3-compatible hex CSS variables (light, dark, and auto modes via prefers-color-scheme and reader dark-mode selectors)
  • Enforces WCAG contrast across semantic palette tokens, Pygments syntax CSS, and SVG covers
  • Automatically pairs user -dark / _dark assets or adapts bright raster/SVG diagrams while preserving strict XHTML validity
  • Generates an accessible SVG EPUB cover with shared doxtr-theme-core icon fallback

Installation

pip install doxtr-epub-theme-core

Usage

Auto-Loading via epub_theme (No extensions Entry Needed)

# conf.py
epub_theme = "doxtr_epub_core"  # or "doxtr_epub_theme_core"

Explicit Extension or Multi-Format Suite

extensions = ["doxtr_epub_theme_core"]
epub_theme = "doxtr_epub_core"

Mixing & Matching Themes per Format

Pair doxtr_epub_core EPUB output with another HTML or PDF theme (or keep Sphinx's default epub_theme = "epub" when using doxtr_theme_*):

extensions = ["doxtr_pdf_theme_aubergine"]
html_theme = "pydata_sphinx_theme"
epub_theme = "doxtr_epub_core"

Sharing One Color Theme Across Different Layout Themes

Set doxtr_semantic_palette (or load a brand extension like doxtr_theme_aubergine) alongside epub_theme = "doxtr_epub_core" so HTML, PDF, and EPUB share the same palette across different layouts:

extensions = ["doxtr_theme_aubergine"]
epub_theme = "doxtr_epub_core"  # Core EPUB layout styled with Aubergine colors

Metadata

Release files for doxtr-epub-theme-core 0.3.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 doxtr-epub-theme-core 0.3.0
File Size Uploaded Provenance Actions
doxtr_epub_theme_core-0.3.0.tar.gz 25.2 kB With provenance Details for doxtr_epub_theme_core-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.8 kB

Release files / doxtr_epub_theme_core-0.3.0.tar.gz

Download URL doxtr_epub_theme_core-0.3.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3c44f9da2908a0607fb178333eaf30e5e1d16f07aca0956b626bd6cd7f026fd5
BLAKE2b-256 checksum
How to use checksums
6de30395615dbc2637e342141aba50bfe0a32c9286e94cf54cec46cc6d60fe8a
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 1, 2026.

Transparency log

Release files / doxtr_epub_theme_core-0.3.0-py3-none-any.whl

Download URL doxtr_epub_theme_core-0.3.0-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ccf3686ad88f47ba64bc8fc757b0faf9945d3e0e00b86f2f99868e8d582437c
BLAKE2b-256 checksum
How to use checksums
9c9c91843a35dea5097770afb58e3862a05b762c72602b9e60bf76ced77f72ba
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 1, 2026.

Transparency log

Security for doxtr-epub-theme-core 0.3.0

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_epub_theme_core-0.3.0.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 1, 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