Documentation
-
README.mdfiles are used often. -
Most of the "books" are being generated from mdbook, which is useful for "humane documentation" around APIs or features, and even more useful once your README becomes too long. It's generally "just markdown files as input."
- This guide started as a README, and became an
mdbook. - Pretty much by just doing an
mdbook initand moving over sections in the README.
- This guide started as a README, and became an
-
APIs are documented via
rustdoc, and it comes out of the box in Rust. You will find your normal code comments generally land where you'd expect them to in, but you can learn how to make it really nice by... You guessed it, reading therustdocbook, which is here.