Re-write the doc index page
Clarify and reorganize. Add the section for the bookshelf. More to come here in the near future! Part of #39588
This commit is contained in:
parent
324b175174
commit
acd84c2f82
@ -6,32 +6,44 @@ nav {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
This is an index of the documentation included with the Rust
|
This page is an overview of the documentation included with your Rust install.
|
||||||
compiler. For more comprehensive documentation see [the
|
Other unofficial documentation may exist elsewhere; for example, the [Rust
|
||||||
website](https://www.rust-lang.org).
|
Learning] project collects documentation from the community, and [Docs.rs]
|
||||||
|
builds documentation for individual Rust packages.
|
||||||
|
|
||||||
[**The Rust Programming Language**][book]. Also known as "The Book",
|
## API Documentation
|
||||||
The Rust Programming Language is the most comprehensive resource for
|
|
||||||
all topics related to Rust, and is the primary official document of
|
|
||||||
the language.
|
|
||||||
|
|
||||||
[**The Rust Reference**][ref]. While Rust does not have a
|
Rust provides a standard library with a number of features; you can browse
|
||||||
specification, the reference tries to describe its working in
|
its documentation [here][api].
|
||||||
detail. It is accurate, but not necessarily complete.
|
|
||||||
|
|
||||||
[**Standard Library API Reference**][api]. Documentation for the
|
## Reference Documentation
|
||||||
standard library.
|
|
||||||
|
|
||||||
[**The Rustonomicon**][nomicon]. An entire book dedicated to
|
Rust does not yet have a formal specification, but we have a reference document
|
||||||
explaining how to write unsafe Rust code. It is for advanced Rust
|
[ref][ref]. It is guaranteed to be accurate, but not complete. We now have a
|
||||||
programmers.
|
policy that all new features must be included in the reference before
|
||||||
|
stabilization; however, we are still back-filling things that landed before
|
||||||
|
then. That work is being tracked [here][38643].
|
||||||
|
|
||||||
[**Compiler Error Index**][err]. Extended explanations of
|
## Extended Error Documentation
|
||||||
the errors produced by the Rust compiler.
|
|
||||||
|
|
||||||
[book]: book/index.html
|
All of Rust's errors code with error codes, and you can request extended
|
||||||
[ref]: reference.html
|
diagnostics from the compiler on those errors. We also produce those
|
||||||
|
diagnostics on the web [here][err], if you prefer to read them that way.
|
||||||
|
|
||||||
|
## The Rust Bookshelf
|
||||||
|
|
||||||
|
Rust provides a number of book-length sets of documentation, collectively
|
||||||
|
nicknamed 'The Rust Bookshelf.'
|
||||||
|
|
||||||
|
* [The Rust Programming Language][book] teaches you how to program in Rust.
|
||||||
|
* [The Rustinomicon][nomicon] is your guidebook to the dark arts of unsafe Rust.
|
||||||
|
|
||||||
|
[Rust Learning]: https://github.com/ctjhoa/rust-learning
|
||||||
|
[Docs.rs]: https://docs.rs/
|
||||||
[api]: std/index.html
|
[api]: std/index.html
|
||||||
[nomicon]: nomicon/index.html
|
[ref]: reference.html
|
||||||
|
[38643]: https://github.com/rust-lang/rust/issues/38643
|
||||||
[err]: error-index.html
|
[err]: error-index.html
|
||||||
|
[book]: book/index.html
|
||||||
|
[nomicon]: nomicon/index.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user