Skip to content

Commit

Permalink
sphinx: treat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
b-fein committed Sep 23, 2023
1 parent f5be311 commit ff2e647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
sphinx:
fail_on_warning: true
python:
install:
- requirements: docs/requirements.txt
3 changes: 2 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
# -W: treat warnings as errors
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
Expand Down

0 comments on commit ff2e647

Please sign in to comment.