diff options
Diffstat (limited to 'scripts/docgen.lua')
| -rw-r--r-- | scripts/docgen.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua index a2583a36..3b02949e 100644 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -69,6 +69,9 @@ for k, v in pairs(skeleton) do for _, dk in ipairs(keys) do local dv = tconf.default_config[dk] local description = tconf.docs and tconf.docs.default_config and tconf.docs.default_config[dk] + if description and type(description) ~= 'string' then + description = inspect(description) + end table.insert(lines, indent(2, string.format("%s = %s", dk, description or inspect(dv)))) end params.default_config = indent(0, table.concat(lines, '\n')) |
