Skip to content

Commit b6507fc

Browse files
authored
Make the Sphinx configuration stricter (#249)
Previously some warnings (including but not limited to broken referenced) could pass unnoticed, not anymore.
1 parent c6f384a commit b6507fc

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/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, and also
55
# from the environment for the first two.
6-
SPHINXOPTS ?=
6+
SPHINXOPTS ?= -W
77
SPHINXBUILD ?= sphinx-build
88
SOURCEDIR = .
99
BUILDDIR = _build

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
extensions = []
1717

18+
# Warn on broken references
19+
nitpicky = True
20+
1821
templates_path = ['_templates']
1922
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv']
2023

0 commit comments

Comments
 (0)