projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update backwards compat notice in admin_api.md
[akkoma]
/
docs
/
Makefile
diff --git
a/docs/Makefile
b/docs/Makefile
index e51c1d188734f417512865de6540e8480af4bbae..85b6dee6511556091ad9736092f0ad087130409f 100644
(file)
--- a/
docs/Makefile
+++ b/
docs/Makefile
@@
-1,7
+1,14
@@
all: install
pipenv run mkdocs build
all: install
pipenv run mkdocs build
+branch := $(shell git rev-parse --abbrev-ref HEAD)
install:
pipenv install
clean:
rm -rf site
install:
pipenv install
clean:
rm -rf site
+serve:
+ pipenv run python3 -m http.server -d site
+zip:
+ zip -r docs.zip site/*
+deploy:
+ cd site && rclone copy . scaleway:akkoma-docs/$(branch)