Josh McKinney fb219ae76c
Improve settings tree title and descriptions
- All settings are now phrased in the imperative form stating what the
  setting does rather than talking about what it controls. (E.g.:
  "Show `Debug` action." instead of "Whether to show `Debug` action"
- Categories are now displayed in title case
- Categories are now sorted lexicographically
- General category is removed (and all the settings are moved to the top
  level)
- Language for a few descriptions is made a bit less ambiguous
2025-07-02 22:12:46 -07:00
..
2025-03-15 21:32:01 +01:00
2025-06-10 13:22:03 +01:00

rust-analyzer documentation

The rust analyzer manual uses mdbook.

Quick start

To run the documentation site locally:

cargo install mdbook
cargo xtask codegen
cd docs/book
mdbook serve
# make changes to documentation files in doc/book/src
# ...

mdbook will rebuild the documentation as changes are made.

Making updates

While not required, installing the mdbook binary can be helpful in order to see the changes. Start with the mdbook User Guide to familiarize yourself with the tool.

Generated documentation

Four sections are generated dynamically: assists, configuration, diagnostics and features. Their content is found in the generated.md files of the respective book section, for example src/configuration_generated.md, and are included in the book via mdbook's include functionality. Generated files can be rebuilt by running the various test cases that generate them, or by simply running all of the rust-analyzer tests with cargo test and cargo xtask codegen.