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

Preview

Rendered from doxamples.

Light Mode Dark Mode
Core EPUB Light Core EPUB Dark

Metadata

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

Built distribution (wheel)

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

Total release size: 52.2 kB

Release files / doxtr_epub_theme_core-0.4.0.tar.gz

Download URL doxtr_epub_theme_core-0.4.0.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
db457ce25df29c47ad35b4d299c08cb3ffedde7024ae99a0dcac70dec11d7250
BLAKE2b-256 checksum
How to use checksums
d4e3ad119ec35c34f996399dc60ffe9b342c91f810bfbe4fde15b3f5b3f7cf3b
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_epub_theme_core-0.4.0-py3-none-any.whl

Download URL doxtr_epub_theme_core-0.4.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
134a9e0524fae2e704afa5b94d503710b50f11d51cd74adfb53c1fd6c5802fd3
BLAKE2b-256 checksum
How to use checksums
d00092ddf2c021acda6acf70975a2d141764fec8e5bff218fe87c0b7e6cde429
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-epub-theme-core 0.4.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.4.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 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