Skip to content

Commit b56ddb1

Browse files
authored
Merge pull request #133 from synaestheory/links_fixes
Links fixes
2 parents aa0022c + 9d7d78c commit b56ddb1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@ $ cargo install mdbook
2929

3030
### Building
3131

32-
To build the book, do this:
33-
32+
The most straight-forward way to build and view the book locally is to use the following command:
3433
```bash
35-
$ mdbook build
34+
$ mdbook serve
3635
```
3736

38-
The output will be in the `book` subdirectory. To check it out, open it in
39-
your web browser.
37+
This serves the book at http://localhost:3000, and rebuilds it on changes.
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.
4040

4141
_Firefox:_
4242

4343
```shell
44-
$ firefox book/index.html # Linux
45-
$ open -a "Firefox" book/index.html # OS X
46-
$ Start-Process "firefox.exe" .\book\index.html # Windows (PowerShell)
47-
$ start firefox.exe .\book\index.html # Windows (Cmd)
44+
$ firefox http://localhost:3000 # Linux
45+
$ open -a "Firefox" http://localhost:3000 # OS X
46+
$ Start-Process "firefox.exe" http://localhost:3000 # Windows (PowerShell)
47+
$ start firefox.exe http://localhost:3000 # Windows (Cmd)
4848
```
4949

5050
_Chrome:_
5151

5252
```shell
53-
$ google-chrome book/index.html # Linux
54-
$ open -a "Google Chrome" book/index.html # OS X
55-
$ Start-Process "chrome.exe" .\book\index.html # Windows (PowerShell)
56-
$ start chrome.exe .\book\index.html # Windows (Cmd)
53+
$ google-chrome http://localhost:3000 # Linux
54+
$ open -a "Google Chrome" http://localhost:3000 # OS X
55+
$ Start-Process "chrome.exe" http://localhost:3000 # Windows (PowerShell)
56+
$ start chrome.exe http://localhost:3000 # Windows (Cmd)
5757
```
5858

5959
To run the tests:

0 commit comments

Comments
 (0)