From 16c2078c9fbb6638df8505efdb8976e4286aedf6 Mon Sep 17 00:00:00 2001 From: Lunaphied Date: Sun, 16 Jun 2024 15:25:42 -0600 Subject: [PATCH] docs: fix manual generation instructions To generate all the requisite files, you need to run `cargo xtask codegen` not `cargo test -p xtask`. --- docs/user/manual.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 8e6c53d0c5..3bc739e934 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -21,7 +21,7 @@ The LSP allows various code editors, like VS Code, Emacs or Vim, to implement se To improve this document, send a pull request: + https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/manual.adoc[https://github.com/rust-analyzer/.../manual.adoc] -The manual is written in https://asciidoc.org[AsciiDoc] and includes some extra files which are generated from the source code. Run `cargo test` and `cargo test -p xtask` to create these and then `asciidoctor manual.adoc` to create an HTML copy. +The manual is written in https://asciidoc.org[AsciiDoc] and includes some extra files which are generated from the source code. Run `cargo test` and `cargo xtask codegen` to create these and then `asciidoctor manual.adoc` to create an HTML copy. ==== If you have questions about using rust-analyzer, please ask them in the https://users.rust-lang.org/c/ide/14["`IDEs and Editors`"] topic of Rust users forum.