Skip to content
Snippets Groups Projects
Commit 2c3ad4fc authored by rahix's avatar rahix
Browse files

fix(docs): Fix issue_8945 hack for Sphinx 4.0

parent 62ccf46b
No related branches found
No related tags found
1 merge request!483card10.cfg: Add config option for flashlight LED
......@@ -167,7 +167,10 @@ def fix_issue_8945():
"_Complex",
"complex",
]:
c_domain._keywords.remove(kw)
if kw in c_domain._keywords:
c_domain._keywords.remove(kw)
if hasattr(c_domain, "_macroKeywords") and kw in c_domain._macroKeywords:
c_domain._macroKeywords.remove(kw)
def parse_xref_object(self):
name = self._parse_nested_name()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment