-
Notifications
You must be signed in to change notification settings - Fork 790
/
book.toml
64 lines (51 loc) · 1.6 KB
/
book.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright lowRISC contributors (OpenTitan project).
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
[book]
authors = ["lowRISC"]
language = "en"
multilingual = false
src = "."
title = "OpenTitan Documentation"
[output.html]
site-url = "book/"
fold = { enable = true}
git-repository-url = "https://github.com/lowrisc/opentitan"
edit-url-template = "https://github.com/lowrisc/opentitan/edit/master/{path}"
curly-quotes = true
mathjax-support = true
additional-js = [
"./site/book-theme/codeblock-conversions.js",
"./site/book-theme/pagetoc.js",
]
additional-css = [
"./site/book-theme/wavejson.css",
"./site/book-theme/pagetoc.css",
"./site/book-theme/recursive.css",
"./site/book-theme/tweaks.css",
]
[output.html.print]
enable = false
[preprocessor.readme2index]
command = "./util/mdbook_readme2index.py"
[preprocessor.reggen]
command = "./util/mdbook_reggen.py"
# Python RegEx identifying ip block config paths.
ip-cfg-py-regex = '(ip|ip_autogen)/.+/data/(?!.+_testplan).+\.hjson'
[preprocessor.testplan]
command = "./util/mdbook_testplan.py"
# Python RegEx identifying testplan paths.
testplan-py-regex = '.+_testplan\.hjson'
[preprocessor.otbn]
command = "./util/mdbook_otbn.py"
[preprocessor.dashboard]
command = "./util/mdbook_dashboard.py"
[preprocessor.code-snippet]
command = "./util/mdbook_code_snippet.py"
[preprocessor.doxygen]
command = "./util/mdbook_doxygen.py"
out-dir = "build-site/gen"
html-out-dir = "gen/doxy"
dif-src-py-regex = 'dif_\S*\.h'
[preprocessor.toolversion]
command = "./util/mdbook_toolversion.py"