File tree 5 files changed +35
-1
lines changed
5 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 29
29
- name : Set up Python
30
30
uses : actions/setup-python@v5
31
31
with :
32
- python-version : ' 3.x'
32
+ python-version : ' >= 3.10'
33
+
34
+ - name : " Download main program"
35
+ id : download_main
36
+ uses : robinraju/release-downloader@v1
37
+ with :
38
+ repository : " PrepPipe/preppipe-python"
39
+ tag : " latest-main"
40
+ fileName : " preppipe-*-py3-none-any.whl"
41
+ tarBall : false
42
+ zipBall : false
43
+ out-file-path : " ."
33
44
34
45
- name : Install dependencies
35
46
run : |
38
49
python3 -m pip install mkdocs-material
39
50
python3 -m pip install mkdocs-static-i18n[material]
40
51
52
+ - name : Install main program
53
+ run : |
54
+ python3 -m pip install $(ls preppipe-*-py3-none-any.whl)
55
+
56
+ - name : Invoke main program to export documentation
57
+ run : |
58
+ PREPPIPE_LANGUAGE=zh_cn PREPPIPE_TOOL=cmddocs python3 -m preppipe.pipeline_cmd --namespace=vn --markdown=docs/zh/script/cmddocs.md
59
+ PREPPIPE_LANGUAGE=zh_hk PREPPIPE_TOOL=cmddocs python3 -m preppipe.pipeline_cmd --namespace=vn --markdown=docs/zh-Hant/script/cmddocs.md
60
+ PREPPIPE_LANGUAGE=en PREPPIPE_TOOL=cmddocs python3 -m preppipe.pipeline_cmd --namespace=vn --markdown=docs/en/script/cmddocs.md
61
+
41
62
- name : Build site
42
63
run : mkdocs build -f mkdocs.yml
43
64
Original file line number Diff line number Diff line change
1
+ # Visual Novel Commands Listing
2
+
3
+ This file should be overwritten by CI script output.
Original file line number Diff line number Diff line change
1
+ # 視覺小說命令列表
2
+
3
+ 此文件應被 CI 腳本輸出覆蓋。
Original file line number Diff line number Diff line change
1
+ # 视觉小说命令列表
2
+
3
+ 此文件应被 CI 脚本输出覆盖。
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ plugins:
30
30
indexpage : 首页
31
31
intro : 简介
32
32
frontend : 剧本格式(前端)
33
+ frontendcmddocs : 命令列表(自动生成)
33
34
middleend : 分析优化工具(中端)
34
35
backend : 引擎支持(后端)
35
36
- locale : zh-Hant
@@ -39,6 +40,7 @@ plugins:
39
40
indexpage : 首頁
40
41
intro : 簡介
41
42
frontend : 劇本格式(前端)
43
+ frontendcmddocs : 命令列表(自動生成)
42
44
middleend : 分析優化工具(中端)
43
45
backend : 引擎支持(後端)
44
46
- locale : en
@@ -48,6 +50,7 @@ plugins:
48
50
indexpage : Home
49
51
intro : Introduction
50
52
frontend : Script Format (Frontend)
53
+ frontendcmddocs : Commands Listing (Auto-generated)
51
54
middleend : Analysis and Opt Tools (Middleend)
52
55
backend : Engine Support (Backend)
53
56
- privacy
67
70
- " intro/functionality.md"
68
71
- frontend :
69
72
- " script/overview.md"
73
+ - frontendcmddocs : " script/cmddocs.md"
70
74
- middleend :
71
75
- " middleend/overview.md"
72
76
- " middleend/assetusage.md"
You can’t perform that action at this time.
0 commit comments