mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-03-03 19:29:10 +00:00
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
36 lines
700 B
TOML
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
|