mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
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:
parent
489f570d47
commit
e59171aab0
@ -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
|
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
|
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
|
||||||
sh src/ci/dox.sh
|
cd src/doc
|
||||||
open target/doc/index.html
|
mdbook build
|
||||||
|
open book/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To install `mdbook` run `cargo install mdbook`.
|
||||||
|
|
||||||
|
|
||||||
## Issue Triage
|
## Issue Triage
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user