forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
book.toml
72 lines (58 loc) · 1.89 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
65
66
67
68
69
70
71
72
# Copyright lowRISC contributors.
# 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 = [
"./util/mdbook/wavejson/default.js",
"./util/mdbook/wavejson/wavedrom.min.js",
"./util/mdbook/wavejson/wavejson.js",
"./util/site-dashboard/dashboard.js",
"./util/site-dashboard/ot-nightly-results.js",
"./util/site-dashboard/install-dashboards.js",
"./site/book-theme/pagetoc.js",
]
additional-css = [
"./util/mdbook/wavejson/wavejson.css",
"./util/site-dashboard/dashboard-mdbook-block.css",
"./site/book-theme/pagetoc.css",
"./site/book-theme/recursive.css",
]
[output.html.print]
enable = false
[preprocessor.readme2index]
command = "./util/mdbook_readme2index.py"
[preprocessor.wavejson]
command = "./util/mdbook_wavejson.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.block-dashboard]
command = "./util/mdbook-block-dashboard.py"