18 lines
406 B
Makefile
18 lines
406 B
Makefile
mkdocs: mkdocs/bin/mkdocs
|
|
|
|
mkdocs/bin/mkdocs:
|
|
test -d mkdocs || python3 -m venv mkdocs
|
|
. mkdocs/bin/activate; pip install -r requirements.txt
|
|
|
|
compile:
|
|
. mkdocs/bin/activate; pip-compile requirements.in
|
|
|
|
sync:
|
|
. mkdocs/bin/activate; pip-sync requirements.txt
|
|
|
|
serve: mkdocs
|
|
. mkdocs/bin/activate; cd the_nimbus_book; mkdocs serve
|
|
|
|
book: mkdocs
|
|
. mkdocs/bin/activate; cd the_nimbus_book; mkdocs build
|