mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
18 lines
458 B
Makefile
18 lines
458 B
Makefile
build: init examples
|
|
rm -rf _.docs
|
|
gitbook build . _docs
|
|
|
|
init:
|
|
gitbook install
|
|
sed -i.bak 's/fa-edit/fa-github/g' node_modules/gitbook-plugin-edit-link/book/plugin.js
|
|
|
|
serve:
|
|
gitbook serve
|
|
|
|
examples:
|
|
go run _tools/examplecompiler/main.go -o _examples -r _tools/examplecompiler/example_repos.json -t _tools/examplecompiler/example_template.tmp
|
|
|
|
deploy: init examples
|
|
rm -rf docs
|
|
gitbook build . docs
|
|
cp assets/images/favicon.ico docs/gitbook/images
|