mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
math: ValueError is raised on parallel build. (refs: #4526)
This commit is contained in:
parent
f766567e75
commit
7b4572a116
1
CHANGES
1
CHANGES
@ -28,6 +28,7 @@ Bugs fixed
|
|||||||
* #4514: graphviz: workaround for wrong map ID which graphviz generates
|
* #4514: graphviz: workaround for wrong map ID which graphviz generates
|
||||||
* #4525: autosectionlabel does not support parallel build
|
* #4525: autosectionlabel does not support parallel build
|
||||||
* #3953: Do not raise warning when there is a working intersphinx inventory
|
* #3953: Do not raise warning when there is a working intersphinx inventory
|
||||||
|
* #4487: math: ValueError is raised on parallel build. Thanks to jschueller.
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
@ -68,7 +68,7 @@ class MathDomain(Domain):
|
|||||||
# type: (Iterable[unicode], Dict) -> None
|
# type: (Iterable[unicode], Dict) -> None
|
||||||
for labelid, (doc, eqno) in otherdata['objects'].items():
|
for labelid, (doc, eqno) in otherdata['objects'].items():
|
||||||
if doc in docnames:
|
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):
|
def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):
|
||||||
# type: (BuildEnvironment, unicode, Builder, unicode, unicode, nodes.Node, nodes.Node) -> nodes.Node # NOQA
|
# type: (BuildEnvironment, unicode, Builder, unicode, unicode, nodes.Node, nodes.Node) -> nodes.Node # NOQA
|
||||||
|
Loading…
Reference in New Issue
Block a user