From 62916f007cc8d6d45a7482caa38be6e0e02941a0 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 16 Sep 2023 15:20:35 +0700 Subject: Makefile: add task to preview md files in local using ciigo --- .gitignore | 1 + Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 335ec95..e6e5e7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +*.html *.tar.gz 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/ -- cgit v1.3