Skip to content

Commit aa0176a

Browse files
authored
Merge pull request #21189 from Wilfred/mdbook_toc_simplify
internal: Remove mdbook-toc usage
2 parents 56431c4 + 640a034 commit aa0176a

File tree

7 files changed

+0
-16
lines changed

7 files changed

+0
-16
lines changed

src/tools/rust-analyzer/docs/book/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ To run the documentation site locally:
88

99
```shell
1010
cargo install mdbook
11-
cargo install mdbook-toc
1211
cargo xtask codegen
1312
cd docs/book
1413
mdbook serve

src/tools/rust-analyzer/docs/book/book.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,3 @@ use-boolean-and = true
3333
[output.html.fold]
3434
enable = true
3535
level = 3
36-
37-
[preprocessor.toc]
38-
command = "mdbook-toc"
39-
renderer = ["html"]
40-
max-level = 3

src/tools/rust-analyzer/docs/book/src/contributing/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Discussion happens in this Zulip stream:
2626

2727
<https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer>
2828

29-
<!-- toc -->
30-
3129
# Issue Labels
3230

3331
* [good-first-issue](https://github.com/rust-lang/rust-analyzer/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22)

src/tools/rust-analyzer/docs/book/src/contributing/architecture.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ For older, by now mostly outdated stuff, see the [guide](./guide.md) and [anothe
2020

2121
![](https://user-images.githubusercontent.com/4789492/107129398-0ab70f00-687a-11eb-9bfc-d4eb023aec06.png)
2222

23-
<!-- toc -->
24-
2523
On the highest level, rust-analyzer is a thing which accepts input source code from the client and produces a structured semantic model of the code.
2624

2725
More specifically, input data consists of a set of test files (`(PathBuf, String)` pairs) and information about project structure, captured in the so called `CrateGraph`.

src/tools/rust-analyzer/docs/book/src/contributing/guide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ however, it's based on an older 2019-01-20 release (git tag [guide-2019-01]):
1212
[guide-2019-01]: https://github.com/rust-lang/rust-analyzer/tree/guide-2019-01
1313
[2024-01-01]: https://github.com/rust-lang/rust-analyzer/tree/2024-01-01
1414

15-
<!-- toc -->
16-
1715
## The big picture
1816

1917
On the highest possible level, rust-analyzer is a stateful component. A client may

src/tools/rust-analyzer/docs/book/src/contributing/lsp-extensions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Requests, which are likely to always remain specific to `rust-analyzer` are unde
1919

2020
If you want to be notified about the changes to this document, subscribe to [#4604](https://github.com/rust-lang/rust-analyzer/issues/4604).
2121

22-
<!-- toc -->
23-
2422
## Configuration in `initializationOptions`
2523

2624
**Upstream Issue:** <https://github.com/microsoft/language-server-protocol/issues/567>

src/tools/rust-analyzer/docs/book/src/other_editors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Protocol](https://microsoft.github.io/language-server-protocol/).
66
This page assumes that you have already [installed the rust-analyzer
77
binary](./rust_analyzer_binary.html).
88

9-
<!-- toc -->
10-
119
## Emacs
1210

1311
To use `rust-analyzer`, you need to install and enable one of the two

0 commit comments

Comments
 (0)