aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-16 15:20:35 +0700
committerShulhan <ms@kilabit.info>2023-09-16 15:20:35 +0700
commit62916f007cc8d6d45a7482caa38be6e0e02941a0 (patch)
tree551e64b4fac9963bef61c4c1c8dc8e7e2ea58fd1 /Makefile
parent917e1475c1f43bdffcd562e969937f2d0284ae11 (diff)
downloadcompute-archlinux-image-builder-62916f007cc8d6d45a7482caa38be6e0e02941a0.tar.xz
Makefile: add task to preview md files in local using ciigo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f70118c..93438aa 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,12 @@ image:
publish:
awwan local gcloud-image-publish.aww 5-
awwan local gcloud-image-cleanup.aww 5-
+
+## Preview the .md files in local using ciigo [1].
+.PHONY: serve-doc
+serve-doc:
+ ciigo -address 127.0.0.1:8080 serve .
+ # Open http://127.0.0.1:8080/README.html to preview the README.
+
+
+## [1] https://sr.ht/~shulhan/ciigo/