LoginSignup
1
0

More than 5 years have passed since last update.

gitbook使い方メモ

Posted at

1. mdファイルの作成・修正

mdファイルを作成したり、修正したり、行いたい作業をします。

2. ビルド

$ gitbook build ./ docs/

このコマンドを打って、ビルドする。
第一引数:mdファイルの場所
第二引数:書き出し先

3. 確認

$ gitbook serve

このコマンドを打つとLive reload serverが立ち上がり確認が出来る。
問題なく立ち上がるとlocalhostが立ち上がる。
※自分の場合は4000番でした。

4. GitHubにpush

確認して問題なければGitHubにpushしましょう。

1
0
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
1
0