Fix to parallel builds

Hax the C++ domain to support parallel builds when it's not used.
See sphinx-build/sphinx#2130.
This commit is contained in:
Jakob Lykke Andersen 2015-11-25 16:31:12 +01:00
parent 89d7ab6941
commit c286917f53

View File

@ -3713,8 +3713,12 @@ class CPPDomain(Domain):
# print(self.data['rootSymbol'].dump(0))
pass
# def merge_domaindata(self, docnames, otherdata):
# # TODO: merge rootSymbol
def merge_domaindata(self, docnames, otherdata):
theirRoot = self.data['rootSymbol']
assert theirRoot is not None
if theirRoot.parent is not None:
raise NotImplementedError()
# TODO: do the actual merging
def _resolve_xref_inner(self, env, fromdocname, builder,
target, node, contnode, emitWarnings=True):