aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Pit-Claudel2019-05-23 19:34:02 -0400
committerClément Pit-Claudel2019-05-23 19:34:02 -0400
commitf6aeed0b7de9581200749f9ded48360540ce8471 (patch)
treeb10f061543fda0b32f1a9c61c00e7c327a83ae62
parent48bda9d680f605f012eb9c3af61f9e076a7d51be (diff)
parentc7cc87ef2d05706a0a40f7a2d296055cf48fc7c0 (diff)
Merge PR #10118: Make progress toward #9411: reject new undefined references.
Reviewed-by: cpitclaudel
-rwxr-xr-xdoc/sphinx/conf.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index ec3343dac6..53309cd313 100755
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -181,7 +181,21 @@ suppress_warnings = ["misc.highlighting_failure"]
todo_include_todos = False
# Extra warnings, including undefined references
-nitpicky = False
+nitpicky = True
+
+nitpick_ignore = [ ('token', token) for token in [
+ 'tactic',
+ # 142 occurrences currently sort of defined in the ltac chapter,
+ # but is it the right place?
+ 'module',
+ 'redexpr',
+ 'modpath',
+ 'dirpath',
+ 'collection',
+ 'term_pattern',
+ 'term_pattern_string',
+ 'command',
+ 'symbol' ]]
# -- Options for HTML output ----------------------------------------------