summaryrefslogtreecommitdiff
path: root/scripts/apidocs/gen_apidocs.py
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 17:40:29 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 17:40:29 +1000
commitbaa4f15774e2eb179a9b6ad6f3b781e0c3e85af3 (patch)
tree71c7cbc81f86d720e730c0d314b9b295d2f8141d /scripts/apidocs/gen_apidocs.py
parentaa0fe8457cfff9c47c0c9fa4a1c86a79c7cbf9c5 (diff)
remove the editor folder
Diffstat (limited to 'scripts/apidocs/gen_apidocs.py')
-rw-r--r--scripts/apidocs/gen_apidocs.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/apidocs/gen_apidocs.py b/scripts/apidocs/gen_apidocs.py
index cfce6ec..d01e441 100644
--- a/scripts/apidocs/gen_apidocs.py
+++ b/scripts/apidocs/gen_apidocs.py
@@ -33,7 +33,7 @@ page_start = """
page_header = """
<header>
- <h1>CELERITAS CORE DOCS</h1>
+ <h1>CELERITAS CORE API DOCS</h1>
</header>
"""
@@ -56,9 +56,11 @@ def emit_function_sig(signature: str) -> str:
"""
categories = {
- "RAL": "src/ral",
+ "Core": "src/core",
"Render": "src/new_render",
- "Maths": "src/maths"
+ "Maths": "src/maths",
+ "RAL": "src/ral",
+ "Systems": "src/systems",
}
def find_pub_functions_in_folder(folder_path):
@@ -85,6 +87,8 @@ def find_pub_functions_in_file(file_path):
signature = match.group(0)
if signature.startswith("PUB "):
signature = signature[4:]
+ if signature.startswith("c_static_inline "):
+ signature = signature[16:]
print(signature)
functions.append(signature)