Commit 20b46a09 authored by Brad King's avatar Brad King
Browse files

Merge branch 'sphinx-python3' into release

parents 72ab7645 d55671ad
......@@ -290,9 +290,12 @@ class CMakeDomain(Domain):
}
def clear_doc(self, docname):
to_clear = set()
for fullname, (fn, _) in self.data['objects'].items():
if fn == docname:
del self.data['objects'][fullname]
to_clear.add(fullname)
for fullname in to_clear:
del self.data['objects'][fullname]
def resolve_xref(self, env, fromdocname, builder,
typ, target, node, contnode):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment