Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用gitbook #4

Open
hangzz opened this issue Mar 30, 2017 · 0 comments
Open

如何使用gitbook #4

hangzz opened this issue Mar 30, 2017 · 0 comments
Labels

Comments

@hangzz
Copy link
Owner

hangzz commented Mar 30, 2017

gitbook

安装gitbook-cli

npm install -g gitbook-cli

gitbook命令

npm init <name>     #新建gitbook   
npm serve           #启动本地服务

构建 SUMMARY.md

# Summary

* [首页](README.md)
* [工具搭建](tool/tool.md)
    * [gitbook](tool/gitbook.md)

再次执行npm init 生成文件

关联github仓库

git init 
git add ... /git commit ...
git remote...
git push ...

gitbook关联github

gitbook新建一个new book,选择Import and sync an existing GitHub repository,关联github

@hangzz hangzz added the tool label Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant