f2fba30786 | ||
---|---|---|
.. | ||
README.md | ||
build.md | ||
clean.md | ||
completions.md | ||
init.md | ||
serve.md | ||
test.md | ||
watch.md |
README.md
Command Line Tool
The mdbook
command-line tool is used to create and build books.
After you have installed mdbook
, you can run the mdbook help
command in your terminal to view the available commands.
This following sections provide in-depth information on the different commands available.
mdbook init <directory>
— Creates a new book with minimal boilerplate to start with.mdbook build
— Renders the book.mdbook watch
— Rebuilds the book any time a source file changes.mdbook serve
— Runs a web server to view the book, and rebuilds on changes.mdbook test
— Tests Rust code samples.mdbook clean
— Deletes the rendered output.mdbook completions
— Support for shell auto-completion.