aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2023-03-19 13:44:59 +0100
committerAlbert Krewinkel <[email protected]>2023-03-19 15:09:23 +0100
commit7743c5287a54abe71da8fb316a34cb9f1f37c358 (patch)
tree9f3859e6badf29a78bbbd5b85ee4efed62ab7789 /tools
parent07c56322c24062082b798961573f0dbb22c4937b (diff)
Lua: add info on when functions became available in pandoc
Diffstat (limited to 'tools')
-rw-r--r--tools/update-lua-module-docs.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/update-lua-module-docs.lua b/tools/update-lua-module-docs.lua
index 7ea6de3f6..91bb62aa6 100644
--- a/tools/update-lua-module-docs.lua
+++ b/tools/update-lua-module-docs.lua
@@ -159,6 +159,7 @@ local function render_function (doc, level, modulename)
.. List{paramlist}
.. List(#doc.results > 0 and {Para 'Returns:'} or {})
.. render_results(doc.results)
+ .. Blocks(doc.since and {Para{Emph{'Since: ' .. doc.since}}} or {})
end
local function render_field (field, level, modulename)