From 49538027bce8deb1fdaa8d437a97f7e7f2883e4d Mon Sep 17 00:00:00 2001 From: Modar Nasser Date: Tue, 18 Jun 2024 22:32:18 +0200 Subject: [PATCH] tools: fix links generation for enum and type in genwiki --- tools/generate_wiki.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/generate_wiki.py b/tools/generate_wiki.py index ff9a7c3..ac76ed4 100644 --- a/tools/generate_wiki.py +++ b/tools/generate_wiki.py @@ -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