Эх сурвалжийг харах

add: tools,生成API文档时,需要加上luatos-ext-components代码库里的源文件

Wendal Chen 9 сар өмнө
parent
commit
bf14d83575

+ 2 - 1
tools/documentGenerator.py

@@ -21,7 +21,8 @@ print(snippet_path)
 file_list = api_get.get_file_list([
         source_path,
         source_path+"/../lua",
-        source_path+"/../components"
+        source_path+"/../components",
+        source_path+"/../../luatos-ext-components",
     ])
 
 modules = api_get.get_modules(file_list)