Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bbb029

Browse files
authored
Merge pull request #17051 from tacaswell/auto-backport-of-pr-17045-on-v3.2.x
Backport PR #17045: Fix missing-references.json.
2 parents fd09e5c + 6a2be5f commit 1bbb029

File tree

2 files changed

+191
-303
lines changed

2 files changed

+191
-303
lines changed

doc/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def _check_dependencies():
103103
else:
104104
autodoc_default_options = {'members': None, 'undoc-members': None}
105105

106-
nitpicky = True
106+
# missing-references names matches sphinx>=3 behavior, so we can't be nitpicky
107+
# for older sphinxes.
108+
nitpicky = sphinx.version_info >= (3,)
107109
# change this to True to update the allowed failures
108110
missing_references_write_json = False
109111
missing_references_warn_unused_ignores = False

0 commit comments

Comments
 (0)