Skip to content
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
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument
* `CHG` default path for `--doc_out_path` is the current directory
* `FIX` incorrect error message for `--doc_update`.
* `FIX` reimplement section `luals.config` in file doc.json
* `FIX` incorrect file names in file doc.json
Expand Down
4 changes: 4 additions & 0 deletions script/cli/doc/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ function doc.runCLI()
end)
io.write('\x0D')

if not DOC_OUT_PATH then
DOC_OUT_PATH = fs.current_path():string()
end

local ok, outPaths, err = dirty_export.serializeAndExport(docs, DOC_OUT_PATH)
print(lang.script('CLI_DOC_DONE'))
for i, path in ipairs(outPaths) do
Expand Down