Skip to content

Commit f40ff2d

Browse files
committed
move dev docs to manual
fix formatting
1 parent 40e4f91 commit f40ff2d

14 files changed

+201
-173
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thank you for your interest in contributing to rust-analyzer! There are many way
44
and we appreciate all of them.
55

66
To get a quick overview of the crates and structure of the project take a look at the
7-
[./docs/dev](./docs/dev) folder.
7+
[Contributing](https://rust-analyzer.github.io/book/contributing) section of the manual.
88

99
If you have any questions please ask them in the [rust-analyzer zulip stream](
1010
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer) or if unsure where

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ https://rust-analyzer.github.io/book/installation.html
1414
## Documentation
1515

1616
If you want to **contribute** to rust-analyzer check out the [CONTRIBUTING.md](./CONTRIBUTING.md) or
17-
if you are just curious about how things work under the hood, check the [./docs/dev](./docs/dev)
18-
folder.
17+
if you are just curious about how things work under the hood, see the
18+
[Contributing](https://rust-analyzer.github.io/book/contributing) section of the manual.
1919

2020
If you want to **use** rust-analyzer's language server with your editor of
2121
choice, check [the manual](https://rust-analyzer.github.io/book/).

docs/book/book.toml

+5
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ use-boolean-and = true
3434
[output.html.fold]
3535
enable = true
3636
level = 3
37+
38+
[preprocessor.toc]
39+
command = "mdbook-toc"
40+
renderer = ["html"]
41+
max-level = 3

docs/book/src/SUMMARY.md

+8
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@
1414
- [Assists (Code Actions)](assists.md)
1515
- [Diagnostics](diagnostics.md)
1616
- [Editor Features](editor_features.md)
17+
- [Contributing](contributing/README.md)
18+
- [Architecture](contributing/architecture.md)
19+
- [Debugging](contributing/debugging.md)
20+
- [Guide](contributing/guide.md)
21+
- [LSP Extensions](contributing/lsp-extensions.md)
22+
- [Setup](contributing/setup.md)
23+
- [Style](contributing/style.md)
24+
- [Syntax](contributing/syntax.md)

0 commit comments

Comments
 (0)