adapt to antora
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3a32f38153
commit
8a2c101fb5
103 changed files with 149 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue