adapt to antora

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-09-21 14:28:51 +02:00
commit 8a2c101fb5
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C
103 changed files with 149 additions and 0 deletions

12
Makefile Normal file
View file

@ -0,0 +1,12 @@
ANTORA_DIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
doc: .FORCE
podman run --rm -it -v "$(ANTORA_DIR):/antora:z" \
antora/antora --html-url-extension-style=indexify site.yml
serve: .FORCE
python3 -m http.server --directory "$(ANTORA_DIR)public"
.FORCE:
.DEFAULT_GOAL := doc
.PHONY: doc serve