Merge pull request #19132 from joshrotenberg/book-readme-run-codegen

doc: add xtask codegen command in development README as well
This commit is contained in:
Lukas Wirth 2025-02-12 11:49:11 +00:00 committed by GitHub
commit 3b6f77c722
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,4 +26,4 @@ Start with the mdbook [User Guide](https://rust-lang.github.io/mdBook/guide/inst
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](https://rust-lang.github.io/mdBook/format/mdbook.html#including-files) 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`.
test cases that generate them, or by simply running all of the `rust-analyzer` tests with `cargo test` and `cargo xtask codegen`.