cargo install mdbook --git https://github.com/zhangyinyuan/mdBook.git --branch search-non-english --force
- mdbook init mybook
- 修改mybook下的book.toml
[book] language = "zh-Hans"
mdBook is a utility to create modern online books from Markdown files.
Check out the User Guide for a list of features and installation and usage information. The User Guide also serves as a demonstration to showcase what a book looks like.
If you are interested in contributing to the development of mdBook, check out the Contribution Guide.
All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.