| 1 |
[book] |
| 2 |
title = "mdBook Documentation" |
| 3 |
description = "Create book from markdown files. Like Gitbook but implemented in Rust" |
| 4 |
authors = ["Mathieu David", "Michael-F-Bryan"] |
| 5 |
language = "en" |
| 6 |
|
| 7 |
[rust] |
| 8 |
edition = "2018" |
| 9 |
|
| 10 |
[output.html] |
| 11 |
smart-punctuation = true |
| 12 |
mathjax-support = true |
| 13 |
site-url = "/mdBook/" |
| 14 |
git-repository-url = "https://github.com/rust-lang/mdBook/tree/master/guide" |
| 15 |
edit-url-template = "https://github.com/rust-lang/mdBook/edit/master/guide/{path}" |
| 16 |
hash-files = true |
| 17 |
|
| 18 |
[output.html.playground] |
| 19 |
editable = true |
| 20 |
line-numbers = true |
| 21 |
|
| 22 |
[output.html.code.hidelines] |
| 23 |
python = "~" |
| 24 |
|
| 25 |
[output.html.search] |
| 26 |
limit-results = 20 |
| 27 |
use-boolean-and = true |
| 28 |
boost-title = 2 |
| 29 |
boost-hierarchy = 2 |
| 30 |
boost-paragraph = 1 |
| 31 |
expand = true |
| 32 |
heading-split-level = 2 |
| 33 |
|
| 34 |
[output.html.redirect] |
| 35 |
"/format/config.html" = "configuration/index.html" |
| 36 |
|
| 37 |
[preprocessor.guide-helper] |
| 38 |
command = "cargo run --quiet --manifest-path guide-helper/Cargo.toml" |
| 39 |
|
| 40 |
[build] |
| 41 |
extra-watch-dirs = ["guide-helper/src"] |