Lua: fix generated docs.

Update and fix docs for `pandoc.types.Version` and `pandoc.utils.type`.
This commit is contained in:
Albert Krewinkel
2024-05-04 22:17:01 +02:00
parent 6000a17394
commit c45f163b4d
4 changed files with 33 additions and 38 deletions
+1 -15
View File
@@ -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]