From 14268ccbaa1cf7cafe1be79f6d1e07c66e87f23a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 6 Mar 2023 16:52:57 +0900 Subject: [PATCH] sphinx-doc understands :enum: --- doc/mkapiref.py | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/mkapiref.py b/doc/mkapiref.py index 3886a65f..df59fbc7 100755 --- a/doc/mkapiref.py +++ b/doc/mkapiref.py @@ -307,7 +307,6 @@ def arg_repl(matchobj): def transform_content(content): content = re.sub(r'^\s+\* ?', '', content) content = re.sub(r'\|([^\s|]+)\|', arg_repl, content) - content = re.sub(r':enum:', ':macro:', content) return content if __name__ == '__main__':