rust-analyzer/docs/book/book.toml
Wilfred Hughes 5f0be6f1c4 Remove mdbook-toc usage
Now that there's a table of contents rendered in the left sidebar,
there doesn't seem to be much value in rendering a table of contents
on the page too.

The sidebar TOC was added in mdbook 0.5:
https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#05-migration-guide
2025-12-01 14:27:20 +00:00

36 lines
700 B
TOML

[book]
authors = ["The rust-analyzer authors"]
language = "en"
src = "src"
title = "rust-analyzer"
[rust]
edition = "2024"
[output.html]
edit-url-template = "https://github.com/rust-lang/rust-analyzer/edit/master/docs/book/{path}"
git-repository-url = "https://github.com/rust-lang/rust-analyzer/tree/master/docs/book"
mathjax-support = true
site-url = "/book/"
[output.html.playground]
editable = true
runnable = false
line-numbers = true
[output.html.search]
boost-hierarchy = 2
boost-paragraph = 1
boost-title = 2
expand = true
heading-split-level = 2
limit-results = 20
use-boolean-and = true
[output.html.redirect]
"/manual.html" = "/index.html"
[output.html.fold]
enable = true
level = 3