15 Commits

Author SHA1 Message Date
Josh Rotenberg
f40ff2d8dc move dev docs to manual
fix formatting
2025-02-17 10:47:27 -08:00
Wilfred Hughes
3394744928 manual: Separate out installation and configuration pages
Organise the installation content into:

* VS Code instructions
* Binary installation
* Editor configuration
2025-02-12 10:21:09 -08:00
Lukas Wirth
12d87252ac
Merge pull request #18928 from roife/fix-18918
fix: handle character boundary in search mode
2025-02-12 14:07:51 +00:00
roife
608d7e14d7 fix: handle character boundary in search mode 2025-02-12 14:47:28 +01:00
Lukas Wirth
3b6f77c722
Merge pull request #19132 from joshrotenberg/book-readme-run-codegen
doc: add xtask codegen command in development README as well
2025-02-12 11:49:11 +00:00
Josh Rotenberg
97c94ad1a4 remove unused plugin config 2025-02-11 13:52:01 -08:00
Chayim Refael Friedman
f63e4761a9
Merge pull request #19133 from joshrotenberg/fix-manual-github-paths
doc: fix mdbook repository paths
2025-02-11 20:28:48 +00:00
Lukas Wirth
78e7515a30
Merge pull request #18998 from ChayimFriedman2/exclude
fix: Make `rust-analyzer.files.excludeDirs` work, actually
2025-02-11 11:41:54 +00:00
Josh Rotenberg
a91f1f3d0c fix mdbook paths 2025-02-10 15:20:51 -08:00
Josh Rotenberg
1f8f323872 add xtask codegen command as well 2025-02-10 15:14:00 -08:00
阿豪
8d017f3ce1
doc: error url 2025-02-09 17:49:26 +08:00
Wilfred Hughes
9c29688076 Organise chapters in mdbook sidebar 2025-02-07 12:25:39 -08:00
jnyfah
4522bf42ca closure parameter inlay hints 2025-02-06 15:55:56 +01:00
Chayim Refael Friedman
ac6b054ca5 Make rust-analyzer.files.excludeDirs work, actually
I have no idea what the original writer of the code thought but the logic just seems backwards. We should not exclude a file/directory if it is equal to an include! This also meant that we had to add a `root == path` check so this stuff will actually work, which in turn meant excludes (of root files) no longer worked...

Also rename if to `rust-analyzer.files.exclude`, because it can exclude files as well.
2025-02-04 17:54:13 +02:00
Wilfred Hughes
deda58e8f1 manual: Convert to mdbook
Split manual.adoc into markdown files, one for each chapter.

For the parts of the manual that are generated from source code doc
comments, update the comments to use markdown syntax and update the
code generators to write to `generated.md` files.

For the weekly release, stop copying the .adoc files to the
`rust-analyzer/rust-analyzer.github.io` at release time. Instead,
we'll sync the manual hourly from this repository.

See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/226
for the sync. This PR should be merged first, and that PR needs to be
merged before the next weekly release.

This change is based on #15795, but rebased and updated. I've also
manually checked each page for markdown syntax issues and fixed any I
encountered.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Co-authored-by: Josh Rotenberg <joshrotenberg@gmail.com>
2025-01-24 13:23:22 -08:00