Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b35884

Browse filesBrowse files
committed
Fix missing-references.json.
I think what happened is that the way nested classes are referred to in inheritance diagrams has improved (the qualified name is more correct now), which caused missing-references.json to go out of sync. Unfortunately this means missing-references.json can either be compatible with sphinx<3.0 or with sphinx>3.0, but to be compatible with both we'd likely need to generate one with both versions and merge the two json files, which seems not worth it. Instead, just drop nitpicky mode for older sphixes (sphinges?).
1 parent d1f07d3 commit 0b35884
Copy full SHA for 0b35884

File tree

Expand file treeCollapse file tree

2 files changed

+91
-147
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+91
-147
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ def _check_dependencies():
102102
else:
103103
autodoc_default_options = {'members': None, 'undoc-members': None}
104104

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.