diff --git a/book-example/src/cli/test.md b/book-example/src/cli/test.md new file mode 100644 index 00000000..a9e6835b --- /dev/null +++ b/book-example/src/cli/test.md @@ -0,0 +1,9 @@ +# The test command + +It’s nice to be able to ensure that examples in documentation are current. +mdBook supports a ‘test’ command, which will use Rustdoc to test out examples: + +```bash +$ mdbook test +[*]: Testing file: "/mdBook/book-example/src/README.md” +```