File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ After editing API documentation, we recommend testing examples:
3939cargo test --doc
4040```
4141
42- Rand API docs are automatically built and hosted at
43- [ rust-random.github.io/rand] for the latest code in master.
44-
4542### Getrandom crate
4643
4744The [ rust-random/getrandom] ( https://github.com/rust-random/getrandom )
@@ -64,12 +61,7 @@ When referring to an item from within another crate,
6461
65621 . if that item is accessible via a crate dependency (even if not via the
6663 public API), use the Rust item path
67- 2 . when linking to another crate within the ` rust-random/rand ` repository,
68- relative paths within the generated documentation files (under ` target/doc ` )
69- can be used; these work on [ rust-random.github.io/rand] but not
70- currently on ` docs.rs ` (see [ docs #204 ] )
71- 3 . if neither of the above are applicable, use an absolute link
72- 4 . consider revising documentation, e.g. refer to the crate instead
64+ 2 . otherwise, use an absolute link to docs.rs
7365
7466Examples:
7567
@@ -129,5 +121,4 @@ API documentation:
129121ln -s ../rand/target/doc rand
130122```
131123
132- [ rust-random.github.io/rand ] : https://rust-random.github.io/rand
133124[ docs#204 ] : https://github.com/rust-lang/docs.rs/issues/204
Original file line number Diff line number Diff line change @@ -13,6 +13,5 @@ This book contains:
1313Outside this book, you may want:
1414
1515- [ API reference for the latest release] ( https://docs.rs/rand/ )
16- - [ API reference for the master branch] ( https://rust-random.github.io/rand/ )
1716- [ The Rand repository] ( https://github.com/rust-random/rand/ )
1817- [ The Book source] ( https://github.com/rust-random/book/ )
You can’t perform that action at this time.
0 commit comments