Switch to <topic> to fix line breaks in text output

No visible change in HTML output; PDF looks different but still acceptable
develop
lethosor 2022-08-08 02:29:22 -04:00
parent 6e29ddf2d3
commit daf3bc516b
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -104,7 +104,7 @@ class DFHackToolDirectiveBase(sphinx.directives.ObjectDescription):
@staticmethod
def wrap_box(*children: List[nodes.Node]) -> nodes.Admonition:
return nodes.admonition('', *children, classes=['dfhack-tool-summary'])
return nodes.topic('', *children, classes=['dfhack-tool-summary'])
def render_content(self) -> List[nodes.Node]:
raise NotImplementedError