diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-05-06 09:00:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 09:00:25 +0300 |
commit | 13080b05787e1379cc30e18840ce704475b56179 (patch) | |
tree | 30f4f7ca5360acc73a86fbee0814be99967317a5 | |
parent | e525a8f83f84fadc3f80d3be3b497066022d108b (diff) | |
parent | 0efcd156244969d40c5b1af59204abbc684d3835 (diff) | |
download | numpy-13080b05787e1379cc30e18840ce704475b56179.tar.gz |
Merge pull request #16169 from rossbar/bld/refcheck_doc_role
DOC,BLD: Add :doc: to whitelisted roles in refguide_check.
-rw-r--r-- | tools/refguide_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/refguide_check.py b/tools/refguide_check.py index e6cfc8b77..31d2997d3 100644 --- a/tools/refguide_check.py +++ b/tools/refguide_check.py @@ -450,7 +450,7 @@ def validate_rst_syntax(text, name, dots=True): return False, "ERROR: %s: no documentation" % (name,) ok_unknown_items = set([ - 'mod', 'currentmodule', 'autosummary', 'data', 'attr', + 'mod', 'doc', 'currentmodule', 'autosummary', 'data', 'attr', 'obj', 'versionadded', 'versionchanged', 'module', 'class', 'ref', 'func', 'toctree', 'moduleauthor', 'term', 'c:member', 'sectionauthor', 'codeauthor', 'eq', 'doi', 'DOI', 'arXiv', 'arxiv' |