some build and sys API optimization

This commit is contained in:
Neucrack
2025-06-05 18:54:56 +08:00
parent 293bda1fdb
commit 36d7043804
8 changed files with 56 additions and 11 deletions

View File

@@ -939,7 +939,7 @@ MaixCDK API documentation, modules:
readme += "| --- | --- |\n"
for m, v in module_members.items():
# add link to module api doc
readme += "|[{}::{}](./{}/{}.md) | {} |\n".format(args.module_name, m, m, args.module_name, v["doc"]["brief"].replace("\n", "<br>")
readme += "|[{}::{}](./{}/{}.md) | {} |\n".format(args.module_name, m, args.module_name, m, v["doc"]["brief"].replace("\n", "<br>")
)
with open(readme_path, "w", encoding="utf-8") as f:
f.write(readme)