Skip to content

Commit

Permalink
Simplify the Building section to only recommend mdbook serve command
Browse files Browse the repository at this point in the history
  • Loading branch information
synaestheory committed Dec 16, 2018
1 parent 18eb653 commit 3bcb13a
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,14 @@ $ cargo install mdbook

### Building

To build the book, do this:

```bash
$ mdbook build
```

The output will be in the `book` subdirectory. You can start a local static webserver
in the `book` subdirectory to check it out. [mdbook] also includes a simple static webserver.
To run the webserver included with mdbook, run the following command:
The most straight-forward way to build and view the book locally is to use the following command:
```bash
$ mdbook serve
```

This serves the book at http://localhost:3000, and rebuilds it on changes.
You can now view the book in your web browser.
You can now view the book in your web browser. If you make changes to the book's source code,
you should only need to refresh your browser to see them.

_Firefox:_

Expand Down

0 comments on commit 3bcb13a

Please sign in to comment.