Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom luadoc generation #2821

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

## 3.10.5
`2024-8-19`
Expand Down
6 changes: 3 additions & 3 deletions locale/en-us/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,10 @@ CLI_DOC_INITING =
'Loading documents ...'
CLI_DOC_DONE =
[[
Document exporting completed!
Raw data: {}
Markdown(example): {}
Documentation exported:
]]
CLI_DOC_WORKING =
'Building docs...'

TYPE_ERROR_ENUM_GLOBAL_DISMATCH =
'Type `{child}` cannot match enumeration type of `{parent}`'
Expand Down
10 changes: 4 additions & 6 deletions locale/pt-br/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,10 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
'Starting {} worker tasks, progress output will be disabled. This may take a few minutes.'
CLI_DOC_INITING = -- TODO: need translate!
'Loading documents ...'
CLI_DOC_DONE = -- TODO: need translate!
[[
Document exporting completed!
Raw data: {}
Markdown(example): {}
]]
CLI_DOC_DONE =
'Documentos exportados:'
CLI_DOC_WORKING =
'Construindo docs...'

TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate!
'Type `{child}` cannot match enumeration type of `{parent}`'
Expand Down
10 changes: 4 additions & 6 deletions locale/zh-cn/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,10 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
'Starting {} worker tasks, progress output will be disabled. This may take a few minutes.'
CLI_DOC_INITING =
'加载文档 ...'
CLI_DOC_DONE =
[[
文档导出完成!
原始数据: {}
Markdown(演示用): {}
]]
CLI_DOC_DONE = -- TODO: need translate!
'文档导出完成!'
CLI_DOC_WORKING =
'正在生成文档...'

TYPE_ERROR_ENUM_GLOBAL_DISMATCH =
'类型 `{child}` 无法匹配 `{parent}` 的枚举类型'
Expand Down
9 changes: 3 additions & 6 deletions locale/zh-tw/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -655,12 +655,9 @@ CLI_CHECK_MULTIPLE_WORKERS = -- TODO: need translate!
CLI_DOC_INITING = -- TODO: need translate!
'Loading documents ...'
CLI_DOC_DONE = -- TODO: need translate!
[[
Document exporting completed!
Raw data: {}
Markdown(example): {}
]]

'Document exporting completed!'
CLI_DOC_WORKING =
'正在產生文件...'
TYPE_ERROR_ENUM_GLOBAL_DISMATCH = -- TODO: need translate!
'Type `{child}` cannot match enumeration type of `{parent}`'
TYPE_ERROR_ENUM_GENERIC_UNSUPPORTED = -- TODO: need translate!
Expand Down
Loading
Loading