Skip to content

Commit e8a2d45

Browse files
committed
mdbookの設定を変更
ローカルで実行したときはHTMLがbookディレクトリーに出力されるようにする
1 parent be51818 commit e8a2d45

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- run: rustc -V
1414
- run: mdbook -V
1515
- run: mdbook test
16-
- run: mdbook build
16+
- run: mdbook build --dist-dir docs
1717
- run: cargo run --bin lfp src
1818
# TODO: Run link2print here. (See ci/build.sh on the master branch)
1919
# - run: TODO

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ book/
44
.DS_Store
55
target
66
tmp
7-

book.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ title = "The Rust Programming Language 日本語版"
33
author = "Steve Klabnik and Carol Nichols, with Contributions from the Rust Community"
44
language = "ja"
55

6-
[build]
7-
build-dir = "docs"
8-
96
[output.html]
107
additional-css = ["ferris.css", "theme/2018-edition.css", "theme/em-to-bold.css"]
118
additional-js = ["ferris.js"]

0 commit comments

Comments
 (0)