Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sphinx Processor

Purpose

Builds Sphinx documentation projects.

How It Works

Discovers conf.py files indicating Sphinx projects, collects sibling .rst, .py, and .md files as inputs, and runs sphinx-build to generate output. A non-zero exit code fails the product.

Source Files

  • Input: **/conf.py (plus sibling .rst, .py, .md files)
  • Output: none (mass_generator — produces output in _build directory)

Configuration

[processor.sphinx]
sphinx_build = "sphinx-build"          # The sphinx-build command to run
output_dir = "_build"                  # Output directory for generated docs
args = []                              # Additional arguments to pass to sphinx-build
extra_inputs = []                      # Additional files that trigger rebuilds when changed
cache_output_dir = true                # Cache the output directory for fast restore after clean
KeyTypeDefaultDescription
sphinx_buildstring"sphinx-build"The sphinx-build executable to run
output_dirstring"_build"Output directory for generated documentation
argsstring[][]Extra arguments passed to sphinx-build
extra_inputsstring[][]Extra files whose changes trigger rebuilds
cache_output_dirbooleantrueCache the _build/ directory so rsconstruct clean && rsconstruct build restores from cache