Skip to content

Add docs for --dest-dir option #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions book-example/src/cli/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
6 changes: 4 additions & 2 deletions book-example/src/cli/serve.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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***:
4 changes: 4 additions & 0 deletions book-example/src/cli/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)*