docs: filter doc blocks captured as code
This commit is contained in:
@@ -11,4 +11,3 @@ compile_commands.json
|
||||
*.gcov
|
||||
coverage_report/
|
||||
__pycache__/
|
||||
docs/api/
|
||||
|
||||
@@ -178,6 +178,7 @@ for mod in ['foundation','core','curves','mesh','spatial','boolean','collision',
|
||||
|
||||
for doc, sig in blocks:
|
||||
if len(doc) < 15 and not sig.strip(): continue
|
||||
if "/**" in sig or "@brief" in sig: continue # skip doc blocks captured as code
|
||||
md = to_md(doc, sig)
|
||||
if md.strip():
|
||||
out.append(md)
|
||||
|
||||
Reference in New Issue
Block a user