Awesome Reviewers

Verification · Static analysis · Documentation build

Strict docs build

Treat warnings as errors (sphinx -W, mkdocs --strict).

How to build it

  1. Run sphinx-build with -W or mkdocs build with --strict in CI.
  2. Fix existing warnings before turning the flag on.
  3. Fail the docs job on broken references, missing navigation entries and bad markup.

Signals in a repository

  • A docs job in CI running sphinx-build -W or mkdocs build --strict.
  • A docs/conf.py or mkdocs.yml file in the repository.

In practice

19 repositories run a tool for this check in the scanned set.

  • sphinx · 9 repos
  • mkdocs · 11 repos

Examples