aboutsummaryrefslogtreecommitdiff
path: root/tools/ldoc.ltp
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-03-13 14:11:35 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2020-03-13 14:22:23 +0100
commit9ffa8100d78dbb293e481c50f39e8781f19b0a5c (patch)
treec968e977b12bfeeded510a7615b79626dbd93123 /tools/ldoc.ltp
parent24da2800001793c93af1d057a068c3eddd801f24 (diff)
downloadpandoc-9ffa8100d78dbb293e481c50f39e8781f19b0a5c.tar.gz
tools: delete Lua documentation helper cruft
The tools were useful to generate documentation from the Lua sources. However, most Lua functions are defined in Haskell, and the even documentation of functions written in Lua has been updated manually for quite a while now. The unused helper scripts, which have bit-rot to the point that they now produce broken links, are therefore removed.
Diffstat (limited to 'tools/ldoc.ltp')
-rw-r--r--tools/ldoc.ltp38
1 files changed, 0 insertions, 38 deletions
diff --git a/tools/ldoc.ltp b/tools/ldoc.ltp
deleted file mode 100644
index 3fa96bb0f..000000000
--- a/tools/ldoc.ltp
+++ /dev/null
@@ -1,38 +0,0 @@
-# local iter = ldoc.modules.iter
-# local M = ldoc.markup
-
-<h1>Module $(module.name)</h1>
-
-<p>$(M(module.summary))</p>
-
-# for kind, items in module.kinds() do
-
-<h2>$(kind)</h2>
- <dl>
-# for item in items() do ldoc.item = item -- provides context for M()
- <dt><span id="$(item.name)"><code>$(ldoc.display_name(item))</code></span></dt>
- <dd>
- <p>$(item.summary)</p>
-# if item.params and #item.params > 0 then
- $(module.kinds:type_of(item).subnames):
- <dl>
-# for p in iter(item.params) do
- <dt><code>$(p)</code>:</dt>
- <dd>$(M(item.params.map[p]))</dd>
-# end -- for
- </dl>
-# end -- if params
-# if item.ret then
- <p>Returns: $(item.ret[1])</p>
-# end -- if returns
-# if item.usage then
- <p>Usage:</p>
- <pre><code>$(item.usage[1])</code></pre>
-# end -- if usage
-# if item.see then
- See also: <a href="#$(item.see[1].label)">$(item.see[1].label)</a>
-
-# end -- if see
-# end -- for items
- </dl>
-# end -- for kinds