From f8641a5cc4c8baf1f0a7be3685afc219d90143d9 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 14:45:31 +1000 Subject: whole thing is compiling and running again --- scripts/apidocs/gen_apidocs.py | 8 +++++++- scripts/apidocs/index.html | 18 +++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'scripts/apidocs') diff --git a/scripts/apidocs/gen_apidocs.py b/scripts/apidocs/gen_apidocs.py index 390a081..cfce6ec 100644 --- a/scripts/apidocs/gen_apidocs.py +++ b/scripts/apidocs/gen_apidocs.py @@ -1,4 +1,9 @@ # Generates a static webpage for the public C-API of `celeritas-core` +# +# TODO: +# - remove prefixes like 'static' and 'inline' +# - parse docstrings from source + import re import os from pathlib import Path @@ -52,7 +57,8 @@ def emit_function_sig(signature: str) -> str: categories = { "RAL": "src/ral", - "Render": "src/new_render" + "Render": "src/new_render", + "Maths": "src/maths" } def find_pub_functions_in_folder(folder_path): diff --git a/scripts/apidocs/index.html b/scripts/apidocs/index.html index 878b7f9..0c19c0c 100644 --- a/scripts/apidocs/index.html +++ b/scripts/apidocs/index.html @@ -20,7 +20,7 @@
-

CELERITAS CORE

+

CELERITAS CORE DOCS

RAL

Maths

-- cgit v1.2.3-70-g09d2