diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py index 8370c923e..8372c3ddd 100644 --- a/sphinx/ext/mathbase.py +++ b/sphinx/ext/mathbase.py @@ -52,8 +52,7 @@ class MathDomain(Domain): label = 'mathematics' initial_data = { - 'nameids': {}, # label -> equation ID - 'objects': {}, # equation ID -> (docname, eqno) + 'objects': {}, # labelid -> (docname, eqno) } # type: Dict[unicode, Dict[unicode, Tuple[unicode, int]]] dangling_warnings = { 'eq': 'equation not found: %(target)s',