Skip to content

Commit

Permalink
feat: treat Sphinx docs warnings as errors (#648)
Browse files Browse the repository at this point in the history
This PR changes the Sphinx configuration to treat warnings as errors, which helps to detect documentation issues in CI tests.
  • Loading branch information
behnazh authored Nov 21, 2023
1 parent 72ef227 commit fe5b8e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=

# Treat the warnings as errors.
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = _build
Expand Down

0 comments on commit fe5b8e3

Please sign in to comment.