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.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-epub-theme-core 0.4.2
File Size Uploaded Provenance Actions
doxtr_epub_theme_core-0.4.2.tar.gz 30.1 kB With provenance Details for doxtr_epub_theme_core-0.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 53.7 kB

Release files / doxtr_epub_theme_core-0.4.2.tar.gz

Download URL doxtr_epub_theme_core-0.4.2.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
579786fa0a89def03bd25da67c33884eecb5b7aec745eaa0a4d929655277ef91
BLAKE2b-256 checksum
How to use checksums
0f0a9ee277d6c66e208a0ca2db30d27cd6e288c1fee555121a0a490af123f432
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 4, 2026.

Transparency log

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

Download URL doxtr_epub_theme_core-0.4.2-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
066c31e0ece1699df369ee5aa9e5b6a64ba6a3761500054483bc7d1e1e935afd
BLAKE2b-256 checksum
How to use checksums
4004d577b90aab80fc98347191b1817458dcd34c86b9ac4524ed0b3f79a67828
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 4, 2026.

Transparency log

Security for doxtr-epub-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_epub_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 4, 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