96
97

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitbook試してみた

Last updated at Posted at 2014-04-04

gitbook

サンプルリポジトリ

cloneしてgitbook serveすれば動きます

gitbookのインストール

$ npm install gitbook -g

作り方

  1. プロジェクトのルートにREADME.mdSUMMARY.mdを作る
  2. ディレクトリを作成し、その中にもREADME.mdを作る
  3. ディレクトリの中にmarkdownのファイルを置く
  4. SUMMARY.mdにこんな感じで書く
* [docs](docs/README.md)
  * [first](docs/first.md)
  * [second](docs/second.md)
  * [third](docs/third.md)
  1. build
$ gitbook build
  1. サーバ起動
$ gitbook serve
tarting build ...
Successfuly built !

Starting server ...
Serving book on http://localhost:4000

Press CTRL+C to quit ...
  1. http://localhost:4000 にアクセス

sample.png

96
97
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
96
97

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?