mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 23:38:41 +08:00
Adding Chrome commands to open index.html
Offering an example using Chrome to open index.html for those who don't have Firefox installed.
This commit is contained in:
parent
0cb911ae02
commit
a0916bd83a
@ -34,10 +34,16 @@ $ mdbook build
|
|||||||
The output will be in the `book` subdirectory. To check it out, open it in
|
The output will be in the `book` subdirectory. To check it out, open it in
|
||||||
your web browser:
|
your web browser:
|
||||||
|
|
||||||
|
Firefox:
|
||||||
```bash
|
```bash
|
||||||
$ firefox book/index.html
|
$ firefox book/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Chrome:
|
||||||
|
```bash
|
||||||
|
$ open -a "Google Chrome" book/index.html
|
||||||
|
```
|
||||||
|
|
||||||
To run the tests:
|
To run the tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user