Skip to content

Commit

Permalink
Adds cast for context.
Browse files Browse the repository at this point in the history
Signed-off-by: Putnam, Kevin <[email protected]>
  • Loading branch information
intelkevinputnam committed Aug 9, 2023
1 parent a1e9f37 commit cb9fdbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions breathe/renderer/sphinxrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ def description(self, node) -> List[Node]:
return brief + detailed

def detaileddescription(self, node) -> List[Node]:
self.context = cast(RenderContext, self.context)
detailedCand = self.render_optional(node.detaileddescription)
# all field_lists must be at the top-level of the desc_content, so pull them up
fieldLists: List[nodes.field_list] = []
Expand Down

0 comments on commit cb9fdbc

Please sign in to comment.