Skip to content

Commit 344dae3

Browse files
committed
Make RTD Sphinx fail on warnings
1 parent dd61933 commit 344dae3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ build:
1414
# Build documentation in the docs/ directory with Sphinx
1515
sphinx:
1616
configuration: docs/conf.py
17+
fail_on_warning: true # https://docs.readthedocs.io/en/stable/tutorial/index.html#making-warnings-more-visible
1718

1819
# Optionally declare the Python requirements required to build your docs
1920
python:
2021
install:
2122
- requirements: docs/requirements.txt
23+
- method: pip # https://docs.readthedocs.io/en/stable/tutorial/index.html#making-warnings-more-visible
24+
path: .

0 commit comments

Comments
 (0)