Ver Fonte

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

https://gitee.com/openLuat/LuatOS/issues/ICTJ3W
Wendal Chen há 5 meses atrás
pai
commit
d8f93cfc3b
1 ficheiros alterados com 5 adições e 0 exclusões
  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")
 
             #支持的芯片