Skip to content

Commit ea8d8ed

Browse files
authored
Update sphinx config (#128)
Albrja/mic-5802/spinx-config Fix spinx configuartion - *Category*: doc build - *JIRA issue*: https://jira.ihme.washington.edu/browse/MIC-5802 Changes and notes -sphinx config ### Testing <!-- Details on how code was verified, any unit tests local for the repo, regression testing, etc. At a minimum, this should include an integration test for a framework change. Consider: plots, images, (small) csv file. -->
1 parent 01d52da commit ea8d8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.readthedocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# This is the version for the readthedocs configuration. Version 2 ignores
22
# web-based configuration and uses everything from this file.
33
version: 2
4+
# Doc builds will fail if there are any warnings
5+
sphinx:
6+
configuration: docs/source/conf.py
7+
fail_on_warning: true
48

59
# Configure the python version and environment construction run before
610
# docs are built.
@@ -15,7 +19,3 @@ python:
1519
path: .
1620
extra_requirements:
1721
- docs
18-
19-
# Doc builds will fail if there are any warnings
20-
sphinx:
21-
fail_on_warning: true

0 commit comments

Comments
 (0)