aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2024-05-04 22:06:26 +0200
committerAlbert Krewinkel <[email protected]>2024-05-04 22:17:01 +0200
commitc45f163b4d6ee64faf2c10a1bc58f89f0ff2f174 (patch)
tree227090ce9c1a51df3a24e129b7b459c2c3774098 /tools
parent6000a1739469b644e5ba8905c631063bed99c5f7 (diff)
Lua: fix generated docs.
Update and fix docs for `pandoc.types.Version` and `pandoc.utils.type`.
Diffstat (limited to 'tools')
-rw-r--r--tools/update-lua-module-docs.lua16
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/update-lua-module-docs.lua b/tools/update-lua-module-docs.lua
index c951d8668..614a3326c 100644
--- a/tools/update-lua-module-docs.lua
+++ b/tools/update-lua-module-docs.lua
@@ -54,6 +54,7 @@ local known_types = {
SimpleTable = 'type-simpletable',
Table = 'type-table',
WriterOptions = 'type-writeroptions',
+ Version = 'type-version',
}
local function render_typespec (typespec)
@@ -256,21 +257,6 @@ local handled_modules = {
layout = true
}
-local modules = {
- -- 'cli',
- -- 'utils',
- -- 'mediabag',
- -- 'format',
- -- 'path',
- -- 'structure',
- -- 'system',
- -- 'layout',
- -- 'scaffolding',
- -- 'template',
- -- 'types',
- 'zip',
-}
-
-- Generate docs for the given module
if arg and arg[1] then
local module_name = arg[1]