diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-03 16:22:01 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-05 10:36:33 +0000 |
| commit | ec683e448958fbd2e8e0b2f5c9e90d5ce9e0b200 (patch) | |
| tree | cb8016679fe6018879ba98756e78cd5cbc39330d /Makefile | |
| parent | add doc generator (diff) | |
| download | alive-ec683e448958fbd2e8e0b2f5c9e90d5ce9e0b200.tar.gz alive-ec683e448958fbd2e8e0b2f5c9e90d5ce9e0b200.zip | |
add index and guide pages
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -3,7 +3,11 @@ MODREFS=$(MODULES:lib/%.moon=docs/reference/%.html) .PHONY: docs clean -docs: $(MODREFS) docs/reference/index.html +docs: docs/index.html docs/guide.html $(MODREFS) docs/reference/index.html + +docs/%.html: docs/%.md extra/docs.moon extra/layout.moon + @echo "building page $<" + moon extra/docs.moon $@ markdown $< docs/reference/%.html: lib/%.moon extra/docs.moon extra/layout.moon @echo "building docs for $<" @@ -15,3 +19,4 @@ docs/reference/index.html: $(MODREFS) extra/docs.moon extra/layout.moon clean: rm -rf docs/reference/* + rm docs/index.html docs/guide.html |
