79164917

Date: 2024-11-07 03:21:24
Score: 0.5
Natty:
Report link

As of Sphinx 7.4, there's the SphinxDirective.parse_content_to_nodes() method to handle rst inside the content of a directive. It obviates directly using self.state.nested_parse(self.content, self.content_offset, node), as was linked in the other answer.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Jake Stevens-Haas