Skip to content

Commit 82faec6

Browse files
authored
Merge pull request #201 from petehayes102/master
Add docs for --dest-dir option
2 parents 0d6185a + 32814f6 commit 82faec6

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

book-example/src/cli/build.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ mdbook build path/to/book
2626
When you use the `--open` (`-o`) option, mdbook will open the rendered book in
2727
your default web browser after building it.
2828

29+
#### --dest-dir
30+
31+
The `--dest-dir` (`-d`) option allows you to change the output directory for your book.
32+
2933
-------------------
3034

3135
***note:*** *make sure to run the build command in the root directory and not in the source directory*

book-example/src/cli/serve.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ If you were to want live reloading for this you would need to proxy the websocke
3131
When you use the `--open` (`-o`) option, mdbook will open the book in your
3232
your default web browser after starting the server.
3333

34+
#### --dest-dir
35+
36+
The `--dest-dir` (`-d`) option allows you to change the output directory for your book.
37+
3438
-----
3539

3640
***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)*
37-
38-
***note***:

book-example/src/cli/watch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ mdbook watch path/to/book
1717
When you use the `--open` (`-o`) option, mdbook will open the rendered book in
1818
your default web browser.
1919

20+
#### --dest-dir
21+
22+
The `--dest-dir` (`-d`) option allows you to change the output directory for your book.
23+
2024
-----
2125

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

0 commit comments

Comments
 (0)