Skip to content

Commit 80fd2c1

Browse files
committed
Don't treat sphinx warnings as errors
Workaround for python/cpython#100520 (rst syntax error in configparser docstrings), which was fixed in CPython 3.10+. Docutils raises warnings about the invalid docstrings, and `-W` instructs sphinx to treat this as errors. We can't control or silence these warnings, so we accept them and don't treat them as errors. See the discussion in #2060 for details.
1 parent a4aadb0 commit 80fd2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# You can set these variables from the command line.
55
BUILDDIR = build
6-
SPHINXOPTS = -W
6+
SPHINXOPTS =
77
SPHINXBUILD = sphinx-build
88
PAPER =
99

0 commit comments

Comments
 (0)