Skip to content

Commit eb0bf98

Browse files
authored
Merge pull request #2821 from skarph/master
custom luadoc generation
2 parents ba8f90e + aeb9ccb commit eb0bf98

File tree

11 files changed

+827
-539
lines changed

11 files changed

+827
-539
lines changed

changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
* `NEW` Custom documentation exporter
6+
* `NEW` Setting: `Lua.docScriptPath`: Path to a script that overrides `cli.doc.export`, allowing user-specified documentation exporting.
57

68
## 3.10.5
79
`2024-8-19`

locale/en-us/script.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,10 @@ CLI_DOC_INITING =
656656
'Loading documents ...'
657657
CLI_DOC_DONE =
658658
[[
659-
Document exporting completed!
660-
Raw data: {}
661-
Markdown(example): {}
659+
Documentation exported:
662660
]]
661+
CLI_DOC_WORKING =
662+
'Building docs...'
663663

664664
TYPE_ERROR_ENUM_GLOBAL_DISMATCH =
665665
'Type `{child}` cannot match enumeration type of `{parent}`'

locale/pt-br/script.lua

+4-6
Original file line numberDiff line numberDiff line change
@@ -654,12 +654,10 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
654654
'Starting {} worker tasks, progress output will be disabled. This may take a few minutes.'
655655
CLI_DOC_INITING = -- TODO: need translate!
656656
'Loading documents ...'
657-
CLI_DOC_DONE = -- TODO: need translate!
658-
[[
659-
Document exporting completed!
660-
Raw data: {}
661-
Markdown(example): {}
662-
]]
657+
CLI_DOC_DONE =
658+
'Documentos exportados:'
659+
CLI_DOC_WORKING =
660+
'Construindo docs...'
663661

664662
TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate!
665663
'Type `{child}` cannot match enumeration type of `{parent}`'

locale/zh-cn/script.lua

+4-6
Original file line numberDiff line numberDiff line change
@@ -654,12 +654,10 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
654654
'Starting {} worker tasks, progress output will be disabled. This may take a few minutes.'
655655
CLI_DOC_INITING =
656656
'加载文档 ...'
657-
CLI_DOC_DONE =
658-
[[
659-
文档导出完成!
660-
原始数据: {}
661-
Markdown(演示用): {}
662-
]]
657+
CLI_DOC_DONE = -- TODO: need translate!
658+
'文档导出完成!'
659+
CLI_DOC_WORKING =
660+
'正在生成文档...'
663661

664662
TYPE_ERROR_ENUM_GLOBAL_DISMATCH =
665663
'类型 `{child}` 无法匹配 `{parent}` 的枚举类型'

locale/zh-tw/script.lua

+3-6
Original file line numberDiff line numberDiff line change
@@ -655,12 +655,9 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
655655
CLI_DOC_INITING = -- TODO: need translate!
656656
'Loading documents ...'
657657
CLI_DOC_DONE = -- TODO: need translate!
658-
[[
659-
Document exporting completed!
660-
Raw data: {}
661-
Markdown(example): {}
662-
]]
663-
658+
'Document exporting completed!'
659+
CLI_DOC_WORKING =
660+
'正在產生文件...'
664661
TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate!
665662
'Type `{child}` cannot match enumeration type of `{parent}`'
666663
TYPE_ERROR_ENUM_GENERIC_UNSUPPORTED = -- TODO: need translate!

0 commit comments

Comments
 (0)