update contributing to show how to build the docs

The contributing guide referenced a script that was deleted in
1271bb4de0c0 so it wasn't possible to follow the contributing guide
successfully prior to contributing doc improvements.
This commit is contained in:
Doug Goldstein 2018-02-17 22:41:32 -06:00
parent 489f570d47
commit e59171aab0
No known key found for this signature in database
GPG Key ID: C88CD4C6DF24365D

View File

@ -109,13 +109,16 @@ and [merges][mergequeue] it into Cargo's `master` branch.
To contribute to the documentation, all you need to do is change the markdown
files in the `src/doc` directory. To view the rendered version of changes you
have made locally, run:
have made locally, make sure you have `mdbook` installed and run:
```sh
sh src/ci/dox.sh
open target/doc/index.html
cd src/doc
mdbook build
open book/index.html
```
To install `mdbook` run `cargo install mdbook`.
## Issue Triage