Fix optional name override

develop
lethosor 2022-08-06 23:12:26 -04:00
parent d19ffa1806
commit b3d79f87cb
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 0 deletions

@ -14,6 +14,7 @@ import dfhack.util
class DFHackToolDirectiveBase(sphinx.directives.ObjectDescription):
has_content = False
required_arguments = 0
optional_arguments = 1
def get_name_or_docname(self):
if self.arguments: