Browse Source

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

Wendal Chen 9 months ago
parent
commit
bf14d83575
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/documentGenerator.py

+ 2 - 1
tools/documentGenerator.py

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