Documentation to-do list
The documentation for each module needs to be fleshed out with introductory text and examples, and more detailed documentation for individual types and functions. See the Rust documentation guidelines for details.
README.md for each crate
Each crate should have a README.md
file.
-
Add shields for the license, the crate on
crates.io
, the documentation ondocs.rs
, and perhaps a link to therusty_train
book. -
Briefly describe the crate, and refer the reader to
navig18xx
andrusty_train
for more details. -
Add the
License
andContribution
sections from the top-levelREADME.md
.
Document public items
Identify public items that are missing documentation by running:
cargo clippy --all-targets -- -W missing_docs
For reference, see this list of allowed-by-default lints.
Architecture diagram
We currently generate a dependency graph:
But perhaps we can convey further details with an architecture diagram. For example, SQLite has a great architecture document that includes a very clear diagram.
Examples of crate documentation
The csv crate has excellent documentation, including a tutorial and a cookbook.
Hosting on docs.rs
See the docs.rs documentation for information about the documentation is generated.