2022-07-15 12:27:16 +00:00
|
|
|
all: install
|
|
|
|
pipenv run mkdocs build
|
|
|
|
|
2022-11-10 10:55:57 +00:00
|
|
|
branch := $(shell git rev-parse --abbrev-ref HEAD)
|
2022-07-15 12:27:16 +00:00
|
|
|
install:
|
|
|
|
pipenv install
|
|
|
|
clean:
|
|
|
|
rm -rf site
|
2022-07-28 10:36:51 +00:00
|
|
|
serve:
|
|
|
|
pipenv run python3 -m http.server -d site
|
2022-11-10 10:55:57 +00:00
|
|
|
zip:
|
|
|
|
zip -r docs.zip site/*
|
|
|
|
deploy:
|
|
|
|
cd site && rclone copy . scaleway:akkoma-docs/$(branch)
|