diff --git a/Makefile b/Makefile index 53b8719..8feb238 100644 --- a/Makefile +++ b/Makefile @@ -49,20 +49,10 @@ test-tables: test-clean: clean-basic clean-example clean-md clean-tables +.PHONY: doc-site clean + doc-site: - mkdir -p out - ldoc -c config.ld src + ldoc . -CLEAN=&& lua $(_REPODIR)/ldoc.lua . && rd /S /Q cdocs && cp -rf doc cdocs - -clean-basic: - cd tests $(CLEAN) - -clean-example: - cd tests && cd example $(CLEAN) - -clean-md: - cd tests && cd md-test $(CLEAN) - -clean-tables: - cd tests && cd simple $(CLEAN) +clean: + rm -rf out diff --git a/config.ld b/config.ld index a499cd7..013c9f7 100644 --- a/config.ld +++ b/config.ld @@ -1,7 +1,9 @@ project = 'Basalt2' title = 'Basalt Documentation' description = 'A UI Framework for ComputerCraft' -file = {'src'} -dir = 'out' +file = 'src' -- Einzelner String statt Table +dir = 'out' -- Ausgabeverzeichnis +one = true -- Eine Datei pro Modul format = 'markdown' +ext = '.md' -- Explizite Dateierweiterung all = true \ No newline at end of file