Update tool which generates lua module docs

All "helper functions" are not part of the Lua code for module pandoc,
but are added in Haskell. The respective documentation section must
therefore be excluded from automatic regeneration.
This commit is contained in:
Albert Krewinkel
2017-12-29 10:04:55 +01:00
parent 9be2c7624c
commit 7fa286fff1
2 changed files with 9 additions and 9 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ end
function Header (el)
if in_module_section then
if el.level == 1 then
if el.level == 1 or
-- special case for Module pandoc
(el.level == 2 and el.identifier == 'helper-functions') then
in_module_section = false
return el
else