Commands

sphinxpress check

Loads configuration, prepares the managed environment if enabled, verifies sphinx-build, and runs Sphinx dummy builds.

sphinxpress list

Lists configured projects and resolved release metadata.

When site versioning is enabled, list expands each logical project into one line per resolved variant:

booktx  release  v0.4.1  <commit>  <release-url>
booktx  main     main    <commit>  <branch-url>

sphinxpress build-site

Builds Jekyll pages and navigation data.

sphinxpress build-site --all
sphinxpress build-site --project tool-a
sphinxpress build-site --projects tool-a,tool-b
sphinxpress build-site --all --variant release
sphinxpress build-site --projects tool-a,tool-b --variants release,main

Without variant filters, build-site --all builds every configured variant for every selected project.

sphinxpress build-epub

Builds the combined EPUB artifact.

sphinxpress build-epub --all

sphinxpress build-pdf

Builds the combined PDF artifact with sphinxpress’s internal WeasyPrint backend by default. It renders the aggregate docs as singlehtml, then converts that HTML to PDF without requiring LaTeX. Install the optional pdf extra or make weasyprint>=67 available in the selected managed build environment. Set [pdf].builder = "latexpdf" to keep using the legacy LaTeX-based path.

sphinxpress build-pdf performs a WeasyPrint preflight before the aggregate singlehtml build. If the configured weasyprint executable is missing, the command fails fast with an actionable message that points to sphinxpress[pdf] and [build.env].packages rather than running a full singlehtml build first. On any singlehtml or WeasyPrint failure, the error message points to the matching log file under [build].log_dir.

sphinxpress build-pdf --all

sphinxpress build-book

Format-dispatching wrapper around PDF and EPUB builds.

sphinxpress build-book --format epub --all
sphinxpress build-book --format pdf --all

For --format pdf, the default backend matches build-pdf: aggregate singlehtml plus WeasyPrint, with explicit latexpdf still available through configuration.

When site versioning is enabled, build-book uses [book].docs_variant and does not aggregate multiple variants into the same EPUB or PDF.

sphinxpress update-release

Updates one project’s stored release_tag.

sphinxpress update-release --project tool-a --tag v0.1.0

sphinxpress update-releases

Resolves and updates release tags for all configured projects.

sphinxpress update-releases --all

sphinxpress add-project

Appends a new [[projects]] entry to sphinxpress.toml.

sphinxpress add-project \
  --name tool-a \
  --docs ../tool-a/docs \
  --repo https://github.com/example/tool-a

sphinxpress validate

Runs checks, validates generated Jekyll output, and verifies aggregate book project creation.

With site versioning enabled, validate resolves every configured site target, checks each version-switch URL in generated nav payloads, verifies nav-key uniqueness, confirms Liquid raw wrappers are balanced, and verifies the generated-output manifest exists.

sphinxpress validate
sphinxpress validate --linkcheck