Explorar el Código

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

https://gitee.com/openLuat/LuatOS/issues/ICTJ3W
Wendal Chen hace 5 meses
padre
commit
d8f93cfc3b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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")
 
             #支持的芯片