diff --git a/book-example/src/cli/build.md b/book-example/src/cli/build.md index 9fe42be3..0c296541 100644 --- a/book-example/src/cli/build.md +++ b/book-example/src/cli/build.md @@ -26,6 +26,10 @@ mdbook build path/to/book When you use the `--open` (`-o`) option, mdbook will open the rendered book in your default web browser after building it. +#### --dest-dir + +The `--dest-dir` (`-d`) option allows you to change the output directory for your book. + ------------------- ***note:*** *make sure to run the build command in the root directory and not in the source directory* diff --git a/book-example/src/cli/serve.md b/book-example/src/cli/serve.md index 39f1c6b8..24221c8e 100644 --- a/book-example/src/cli/serve.md +++ b/book-example/src/cli/serve.md @@ -31,8 +31,12 @@ If you were to want live reloading for this you would need to proxy the websocke When you use the `--open` (`-o`) option, mdbook will open the book in your your default web browser after starting the server. +#### --dest-dir + +The `--dest-dir` (`-d`) option allows you to change the output directory for your book. + ----- ***note:*** *the `serve` command has not gotten a lot of testing yet, there could be some rough edges. If you discover a problem, please report it [on Github](https://github.com/azerupi/mdBook/issues)* -***note***: +***note***: diff --git a/book-example/src/cli/watch.md b/book-example/src/cli/watch.md index 79117b3f..8b110476 100644 --- a/book-example/src/cli/watch.md +++ b/book-example/src/cli/watch.md @@ -17,6 +17,10 @@ mdbook watch path/to/book When you use the `--open` (`-o`) option, mdbook will open the rendered book in your default web browser. +#### --dest-dir + +The `--dest-dir` (`-d`) option allows you to change the output directory for your book. + ----- ***note:*** *the `watch` command has not gotten a lot of testing yet, there could be some rough edges. If you discover a problem, please report it [on Github](https://github.com/azerupi/mdBook/issues)*