mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch 'stable'
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -231,6 +231,7 @@ Bugs fixed
|
||||
* #1610: Sphinx cause AttributeError when MeCab search option is enabled and
|
||||
python-mecab is not installed.
|
||||
* #1674: Do not crash if a module's ``__all__`` is not a list of strings.
|
||||
* #1673: Fix crashes with :confval:`nitpick_ignore` and ``:doc:`` references.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
@@ -1521,7 +1521,8 @@ class BuildEnvironment:
|
||||
if (dtype, target) in self._nitpick_ignore:
|
||||
warn = False
|
||||
# for "std" types also try without domain name
|
||||
if domain.name == 'std' and (typ, target) in self._nitpick_ignore:
|
||||
if (not domain or domain.name == 'std') and \
|
||||
(typ, target) in self._nitpick_ignore:
|
||||
warn = False
|
||||
if not warn:
|
||||
return
|
||||
|
Reference in New Issue
Block a user