Merge pull request #201 from petehayes102/master

Add docs for --dest-dir option
This commit is contained in:
Mathieu David 2017-01-17 12:21:21 +01:00 committed by GitHub
commit 82faec6b5a
3 changed files with 12 additions and 2 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 When you use the `--open` (`-o`) option, mdbook will open the rendered book in
your default web browser after building it. 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* ***note:*** *make sure to run the build command in the root directory and not in the source directory*

View File

@ -31,8 +31,10 @@ 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 When you use the `--open` (`-o`) option, mdbook will open the book in your
your default web browser after starting the server. 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:*** *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***:

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 When you use the `--open` (`-o`) option, mdbook will open the rendered book in
your default web browser. 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)* ***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)*