Skip to content

Commit

Permalink
tools: fix links generation for enum and type in genwiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Madour committed Jun 18, 2024
1 parent f43a78e commit 4953802
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/generate_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ def _prefix(self):
prefix = 'struct : ldtk::'
elif isinstance(self.obj, Class):
prefix = 'class : ldtk::'
elif isinstance(self.obj, Enum):
prefix = 'enum : ldtk::'
elif isinstance(self.obj, Type):
prefix = 'type : ldtk::'
return prefix

@property
Expand Down

0 comments on commit 4953802

Please sign in to comment.