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

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.1
File Size Uploaded Provenance Actions
doxtr_epub_theme_core-0.4.1.tar.gz 29.0 kB With provenance Details for doxtr_epub_theme_core-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 52.3 kB

Release files / doxtr_epub_theme_core-0.4.1.tar.gz

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

Download URL doxtr_epub_theme_core-0.4.1-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecf7ceaa0073c280f9dbe49b25aff1f76fa833e462f760595fb6c1f24b73c36c
BLAKE2b-256 checksum
How to use checksums
04146e513b4ae4c7d1e45f0c40aecddb8022238bde7198a0782413ed294f8a8a
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-epub-theme-core 0.4.1

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