فهرست منبع

change: api文档,隐藏mobile.rtime函数

https://gitee.com/openLuat/LuatOS/issues/ICTJ3W
Wendal Chen 5 ماه پیش
والد
کامیت
d8f93cfc3b
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      tools/make_doc_file.py

+ 5 - 0
tools/make_doc_file.py

@@ -122,6 +122,11 @@ def make(path,modules,index_text):
 
         
         for api in module["api"]:
+            # 忽略部分函数
+            if api["api"].startswith("mobile.rtime"):
+                print("ignore mobile.rtime")
+                continue  # rtime是一个特殊的函数,忽略
+
             mdoc.write("## "+api["api"]+"\n\n")
 
             #支持的芯片