File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,14 @@ $ cargo install mdbook
29
29
30
30
### Building
31
31
32
- To build the book, do this:
33
-
34
- ``` bash
35
- $ mdbook build
36
- ```
37
-
38
- The output will be in the ` book ` subdirectory. You can start a local static webserver
39
- in the ` book ` subdirectory to check it out. [ mdbook] also includes a simple static webserver.
40
- To run the webserver included with mdbook, run the following command:
32
+ The most straight-forward way to build and view the book locally is to use the following command:
41
33
``` bash
42
34
$ mdbook serve
43
35
```
44
36
45
37
This serves the book at http://localhost:3000 , and rebuilds it on changes.
46
- You can now view the book in your web browser.
38
+ You can now view the book in your web browser. If you make changes to the book's source code,
39
+ you should only need to refresh your browser to see them.
47
40
48
41
_ Firefox:_
49
42
You can’t perform that action at this time.
0 commit comments