-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: added html outputs configurations
- Loading branch information
Showing
3 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,37 @@ | ||
[book] | ||
authors = ["el figrafo"] | ||
authors = ["rndlabs.eth"] | ||
language = "en" | ||
multilingual = false | ||
src = "src" | ||
title = "SEP Documentation" | ||
title = "Service Exchange Protocol Documentation" | ||
description = "Service Exchange Protocol (SEP) documentation" | ||
|
||
[preprocessor] | ||
|
||
[preprocessor.mermaid] | ||
command = "mdbook-mermaid" | ||
cmd = "mdbook-mermaid" | ||
|
||
[output] | ||
|
||
[output.html] | ||
additional-js = ["mermaid.min.js", "mermaid-init.js"] | ||
|
||
default-theme = "light" | ||
preferred-dark-theme = "ayu" | ||
curly-quotes = true | ||
mathjax-support = true | ||
copy-fonts = true | ||
git-repository-url = "https://github.com/rndlabs/sep-docs" | ||
git-repository-icon = "fa-github" | ||
|
||
[output.html.search] | ||
enable = true # enables the search feature | ||
limit-results = 30 # maximum number of search results | ||
teaser-word-count = 30 # number of words used for a search result teaser | ||
use-boolean-and = true # multiple search terms must all match | ||
boost-title = 2 # ranking boost factor for matches in headers | ||
boost-hierarchy = 1 # ranking boost factor for matches in page names | ||
boost-paragraph = 1 # ranking boost factor for matches in text | ||
expand = true # partial words will match longer terms | ||
heading-split-level = 3 # link results to heading levels | ||
copy-js = true # include Javascript code for search |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.