mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
C domain: Fix namespace-pop context (#11935)
This commit is contained in:
parent
41ab0f9a41
commit
9faf114ea1
@ -374,7 +374,7 @@ class CNamespacePopObject(SphinxDirective):
|
||||
symbol = self.env.domaindata['c']['root_symbol']
|
||||
self.env.temp_data['c:parent_symbol'] = symbol
|
||||
self.env.temp_data['c:namespace_stack'] = stack
|
||||
self.env.ref_context['cp:parent_key'] = symbol.get_lookup_key()
|
||||
self.env.ref_context['c:parent_key'] = symbol.get_lookup_key()
|
||||
return []
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user