Skip to content

Instantly share code, notes, and snippets.

@xproxima
Last active February 1, 2023 09:06
Show Gist options
  • Save xproxima/bbaab186ebe7dfa933407e67e1eba80c to your computer and use it in GitHub Desktop.
Save xproxima/bbaab186ebe7dfa933407e67e1eba80c to your computer and use it in GitHub Desktop.
gitbook
# gitbook-cli
npm install -g gitbook-cli
gitbook-cli -V
# add SUMMARY.md
gitbook init
# check
gitbook serve
# build
#gitbook build --output=docs # does not work
rm -rf docs && mv _book docs
# settings pages->master/docs
git push -u origin master
## deprecated
# push
npm install -g gh-pages-cli
gh-pages -d _book
# gitbook-cli
npm install -g gitbook-cli
gitbook-cli -V
gitbook init
# gitbook serve
# cabera
gitbook pdf
@mammon69bot
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment