Add docs for --dest-dir option

This commit is contained in:
Pete Hayes 2017-01-17 00:11:39 +00:00
parent 0d6185ac96
commit ac6f15cb27
3 changed files with 13 additions and 1 deletions

View File

@ -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*

View File

@ -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***:

View File

@ -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)*