summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2015-07-03 15:40:37 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2015-07-03 15:40:41 +0100
commit6cd68b43cd255601445832017387eb5b950f3e3b (patch)
tree348a384e38c12c4e71bf57c8c398071b01184ddd
parent88cd841fb0ec8901360cbde5384ed49207033774 (diff)
downloadclod-6cd68b43cd255601445832017387eb5b950f3e3b.tar.gz
Initial bits for ldoc
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rw-r--r--config.ld6
3 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f1cc253..d8d306b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*~
luacov.report.out
luacov.stats.out
+html/
diff --git a/Makefile b/Makefile
index 919c561..a707250 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ LUA := LUA_PATH="$(shell pwd)/lib/?.lua;$(shell pwd)/extras/luacov/src/?.lua;;"
clean:
$(RM) luacov.report.out luacov.stats.out
+ $(RM) -r html
distclean: clean
find . -name "*~" -delete
@@ -45,3 +46,6 @@ test:
.PHONY: interactive
interactive:
$(LUA) -e'clod=require"clod"' -i
+
+doc:
+ @ldoc .
diff --git a/config.ld b/config.ld
new file mode 100644
index 0000000..2a6bae8
--- /dev/null
+++ b/config.ld
@@ -0,0 +1,6 @@
+file = {"lib"}
+readme = "README"
+format = "lua-markdown"
+project = "Configuration Language Organised (by) Dots"
+title = "Clod - " .. project
+dir = "html"