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.2.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.2.0
File Size Uploaded Provenance Actions
doxtr_epub_theme_core-0.2.0.tar.gz 21.1 kB With provenance Details for doxtr_epub_theme_core-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 39.5 kB

Release files / doxtr_epub_theme_core-0.2.0.tar.gz

Download URL doxtr_epub_theme_core-0.2.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd9716b17987f789ff78ebb0042ca5aea0925fafd85626fcf710cb77ec5c6867
BLAKE2b-256 checksum
How to use checksums
099e4f8eff6b2f7de4e351593078f7a0dff19b0188ebad3d2097d59c0c14be41
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 Nov 30, 2026.

Transparency log

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

Download URL doxtr_epub_theme_core-0.2.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee870beb284a6697e19727a4800e499512e281974b0bcd5c13b3a4e14bae6e6d
BLAKE2b-256 checksum
How to use checksums
e4965dd9919a1dbaf298b5d00a57b603062154c10c87ae9bf13a54197f8af32d
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 Nov 30, 2026.

Transparency log

Security for doxtr-epub-theme-core 0.2.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.2.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 Nov 30, 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