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