summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-01-31 09:28:46 +0900
committerGitHub <noreply@github.com>2018-01-31 09:28:46 +0900
commit58a94e24ca4dbd1e60151a38ad2cc5c021a817c0 (patch)
tree202b0d6d96c158b93563f1fa8cce3b5331826f20 /sphinx/ext/mathbase.py
parentf766567e7574d07b530d1b6f17e022ad74aa7116 (diff)
parent7b4572a11608f71943f73698749ad5ed7037d91f (diff)
downloadsphinx-git-58a94e24ca4dbd1e60151a38ad2cc5c021a817c0.tar.gz
Merge pull request #4526 from tk0miya/4487_ValueError_on_math
mathbase.py: Fix ValueError too many values to unpack
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r--sphinx/ext/mathbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py
index 8372c3ddd..514fcdaf3 100644
--- a/sphinx/ext/mathbase.py
+++ b/sphinx/ext/mathbase.py
@@ -68,7 +68,7 @@ class MathDomain(Domain):
# type: (Iterable[unicode], Dict) -> None
for labelid, (doc, eqno) in otherdata['objects'].items():
if doc in docnames:
- self.data['objects'][labelid] = doc
+ self.data['objects'][labelid] = (doc, eqno)
def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):
# type: (BuildEnvironment, unicode, Builder, unicode, unicode, nodes.Node, nodes.Node) -> nodes.Node # NOQA