REPOMATIC-UPDATE-DOCS(1) REPOMATIC-UPDATE-DOCS(1)

repomatic update-docs - Regenerate Sphinx API docs and dynamic content

repomatic update-docs [OPTIONS]

Regenerate Sphinx autodoc stubs and run the project's update script.

Orchestrates four phases:

1. Run `sphinx-apidoc` to generate RST stubs for all modules. 2. If MyST-Parser is detected, convert the RST stubs to MyST markdown with {eval-rst} blocks. 3. Run the project-specific `docs/docs_update.py` script (if present) to generate dynamic content. 4. Refresh self-updating blocks ({matrix} compatibility tables and `python:render` `:mirror:` regions) found in `docs/` pages and `readme.md`, via `click-extra refresh-directives`.

With --check, phases 1-2 are skipped and phases 3-4 run in their own check modes to report drift without writing (the update script must accept a --check flag to participate).

Configuration is read from `[tool.repomatic]` in `pyproject.toml`.

Report out-of-date self-updating content and exit non-zero, without writing anything. For CI drift detection.
Show this message and exit.

Report out-of-date self-updating content and exit non-zero, without writing anything. For CI drift detection.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

Kevin Deldycke

2026-09-14 7.15.1.dev0