Skip to content

Commit 4953802

Browse files
committedJun 18, 2024·
tools: fix links generation for enum and type in genwiki
1 parent f43a78e commit 4953802

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎tools/generate_wiki.py

+4
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ def _prefix(self):
202202
prefix = 'struct : ldtk::'
203203
elif isinstance(self.obj, Class):
204204
prefix = 'class : ldtk::'
205+
elif isinstance(self.obj, Enum):
206+
prefix = 'enum : ldtk::'
207+
elif isinstance(self.obj, Type):
208+
prefix = 'type : ldtk::'
205209
return prefix
206210

207211
@property

0 commit comments

Comments
 (0)
Please sign in to comment.