From cecdbb445f83cbb69c25e2323fd0689b2ea3e6cf Mon Sep 17 00:00:00 2001 From: vitalyr Date: Wed, 5 Aug 2020 00:07:33 +0800 Subject: [PATCH] mdbook: enable search, prepare to enable majax support --- docs/book.toml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/book.toml b/docs/book.toml index 6177532..1678248 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -4,10 +4,22 @@ language = "cn" multilingual = false src = "src" title = "įŽ€æ˜Ž zCore æ•™į¨‹" +[rust] +edition = "2018" [output.html.playpen] editable = true [output.html] git-repository-url = "https://github.com/rcore-os/zCore-Tutorial" -mathjax-support = true -[preprocessor.mathjax] -renderers = ["html"] \ No newline at end of file +# mathjax-support = true +# [preprocessor.mathjax] +# renderers = ["html"] +[output.html.search] +enable = true +limit-results = 30 +teaser-word-count = 30 +use-boolean-and = true +boost-title = 2 +boost-hierarchy = 1 +boost-paragraph = 1 +expand = true +heading-split-level = 3 \ No newline at end of file