diff options
Diffstat (limited to 'Data/BuiltIn/Libraries/lua-stdlib/build-aux/config.ld.in')
-rw-r--r-- | Data/BuiltIn/Libraries/lua-stdlib/build-aux/config.ld.in | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Data/BuiltIn/Libraries/lua-stdlib/build-aux/config.ld.in b/Data/BuiltIn/Libraries/lua-stdlib/build-aux/config.ld.in new file mode 100644 index 0000000..20ee48b --- /dev/null +++ b/Data/BuiltIn/Libraries/lua-stdlib/build-aux/config.ld.in @@ -0,0 +1,53 @@ +--[[ + General Lua Libraries for Lua 5.1, 5.2 & 5.3 + Copyright (C) 2002-2018 stdlib authors +]] + +title = 'stdlib @PACKAGE_VERSION@ Reference' +project = 'stdlib @PACKAGE_VERSION@' +description = [[ +# Standard Lua Libraries + +This is a collection of light-weight libraries for Lua 5.1 (including +LuaJIT), 5.2 and 5.3 written in pure Lua, comprising: + +1. Enhanced and expanded versions of some core Lua functions in the + @{std} module itself; + +2. Enhanced versions of some core Lua libraries: @{std.debug}, @{std.io}, + @{std.math}, @{std.package}, @{std.string} and @{std.table}; + +## LICENSE + +The code is copyright by its respective authors, and released under the +MIT license (the same license as Lua itself). There is no warranty. +]] + +dir = '../doc' + +file = { + '../lib/std/init.lua', + '../lib/std/debug.lua', + '../lib/std/io.lua', + '../lib/std/math.lua', + '../lib/std/package.lua', + '../lib/std/string.lua', + '../lib/std/table.lua', +} + +new_type ('corefunction', 'Core_Functions', true) +new_type ('corelibrary', 'Core_Libraries', true) + +function postprocess_html(s) + s = s:gsub('<h1>%s*Corefunction (.-)</p>', '<h1>Module %1</h1>') + s = s:gsub('<h1>%s*Corelibrary (.-)</p>', '<h1>Module %1</h1>') + s = s:gsub('<h2>Core_Functions</h2>', '<h2>Core Functions</h2>') + s = s:gsub('<h2>Core_Libraries</h2>', '<h2>Core Libraries</h2>') + return s +end + +new_type ('init', 'Initialisation', false, 'Parameters') + +format = 'markdown' +backtick_references = false +sort = false |