aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--Makefile9
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 245fe5c..7568da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+docs/
demo
!./cmd/demo/
diff --git a/Makefile b/Makefile
index c6cdb28..762ebfa 100644
--- a/Makefile
+++ b/Makefile
@@ -9,4 +9,11 @@ demo:
run:
hare run $(LIBS) cmd/demo
-.PHONY: demo run
+docs:
+ mkdir -p docs/sdl2/image
+ haredoc -Fhtml sdl2 > docs/sdl2/index.html
+ haredoc -Fhtml sdl2::image > docs/sdl2/image/index.html
+ mkdir -p docs/sdl2/mixer
+ haredoc -Fhtml sdl2::mixer > docs/sdl2/mixer/index.html
+
+.PHONY: demo docs run