From a676f04d2f8c1981fc953cc2e87adf059e23089a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 22 May 2022 15:57:52 +0700 Subject: all: move the documentation under _www/doc directory This also allow the latest/released documentation viewed on the web user interface under /doc path. While at it, reformat HTML and CSS files using js-beautify and JavaScript files using clang-format [1]. [1] https://google.github.io/styleguide/jsguide.html#formatting --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 66f9372..959c75d 100644 --- a/Makefile +++ b/Makefile @@ -61,11 +61,11 @@ $(RESCACHED_MAN): README.adoc asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man1/ $< gzip -f _sys/usr/share/man/man1/rescached.1 -$(RESCACHED_CFG_MAN): _doc/rescached.cfg.adoc +$(RESCACHED_CFG_MAN): _www/doc/rescached.cfg.adoc asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man5/ $< gzip -f _sys/usr/share/man/man5/rescached.cfg.5 -$(RESOLVER_MAN): _doc/resolver.adoc +$(RESOLVER_MAN): _www/doc/resolver.adoc asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man1/ $< gzip -f _sys/usr/share/man/man1/resolver.1 @@ -87,9 +87,6 @@ clean: dev: go run ./cmd/rescached -dir-base=./_test -config=etc/rescached/rescached.cfg dev -serve-doc: - ciigo serve _doc - ## ## Common tasks for installing and uninstalling program. ## -- cgit v1.3