From 80908fadbebd87f28db05d96d18454273b8a9816 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A5=9D=E6=99=93=E4=B8=9C?= <qishiwenjun@163.com>
Date: Sun, 10 Jun 2018 11:32:02 +0800
Subject: [PATCH] rm book.json update book.toml ignore book directory

---
 .gitignore |  4 ++--
 book.json  | 19 -------------------
 book.toml  |  5 +++--
 3 files changed, 5 insertions(+), 23 deletions(-)
 delete mode 100644 book.json

diff --git a/.gitignore b/.gitignore
index 4d6ce87..37f508e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-_book/
+book/
 mdbook/
 
-.DS_Store
\ No newline at end of file
+.DS_Store
diff --git a/book.json b/book.json
deleted file mode 100644
index 09ac795..0000000
--- a/book.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-    "root": "src",
-
-    "structure": {
-        "readme": "PREFACE.md"
-    },
-
-    "title": "Rust 程序设计语言 简体中文版",
-
-    "description": "Rust 程序设计语言 简体中文版",
-
-    "author": "Steve Klabnik 和 Carol Nichols,以及来自 Rust 社区的贡献,KaiserY 以及 Rust 中文社区翻译",
-
-    "language": "zh-hans",
-
-    "plugins": [],
-
-    "pluginsConfig": {}
-}
\ No newline at end of file
diff --git a/book.toml b/book.toml
index 66f8c14..f34accd 100644
--- a/book.toml
+++ b/book.toml
@@ -1,6 +1,7 @@
+[book]
 title = "Rust 程序设计语言 简体中文版"
 author = "Steve Klabnik 和 Carol Nichols,以及来自 Rust 社区的贡献,KaiserY 以及 Rust 中文社区翻译"
 description = "Rust 程序设计语言 简体中文版"
 
-[output.html]
-destination = "mdbook"
\ No newline at end of file
+[build-dir]
+destination = "mdbook"