diff --git a/doc/ldoc.ltp b/doc/ldoc.ltp new file mode 100644 index 000000000..3fa96bb0f --- /dev/null +++ b/doc/ldoc.ltp @@ -0,0 +1,38 @@ +# local iter = ldoc.modules.iter +# local M = ldoc.markup + +
$(M(module.summary))
+ +# for kind, items in module.kinds() do + +$(ldoc.display_name(item))$(item.summary)
+# if item.params and #item.params > 0 then + $(module.kinds:type_of(item).subnames): +$(p):Returns: $(item.ret[1])
+# end -- if returns +# if item.usage then +Usage:
+$(item.usage[1])
+# end -- if usage
+# if item.see then
+ See also: $(item.see[1].label)
+
+# end -- if see
+# end -- for items
+