Skip to content

Commit bca220f

Browse files
add path to sphinx config in readthedocs.yaml
1 parent 53826e1 commit bca220f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
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+
sphinx:
5+
fail_on_warning: true
6+
configuration: docs/source/conf.py
47

58
# Configure the python version and environment construction run before
69
# docs are built.
@@ -16,9 +19,5 @@ python:
1619
extra_requirements:
1720
- docs
1821

19-
# Doc builds will fail if there are any warnings
20-
sphinx:
21-
fail_on_warning: true
22-
2322
formats:
2423
- pdf

update_readme.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import json
66
import re
77

8-
from packaging.version import parse
9-
108
# Load supported python versions
119
with open("python_versions.json", "r") as f:
1210
versions = json.load(f)

0 commit comments

Comments
 (0)