aboutsummaryrefslogtreecommitdiff
path: root/mdbook/spec/book.toml
diff options
context:
space:
mode:
Diffstat (limited to 'mdbook/spec/book.toml')
-rw-r--r--mdbook/spec/book.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/mdbook/spec/book.toml b/mdbook/spec/book.toml
new file mode 100644
index 0000000..16668c9
--- /dev/null
+++ b/mdbook/spec/book.toml
@@ -0,0 +1,37 @@
+[book]
+authors = ["The Tor Project"]
+language = "en"
+multilingual = false
+src = "../../spec"
+title = "Tor Specifications"
+
+[build]
+build-dir = "../../build/spec"
+
+[preprocessor]
+
+[output.html]
+theme = "../theme"
+
+[output.html.redirect]
+
+# BEGIN AUTO-GENERATED REDIRECTS
+"/collector-protocol.html" = "https://gitlab.torproject.org/tpo/network-health/metrics/collector/-/blob/master/src/main/resources/docs/PROTOCOL?ref_type=heads"
+"/gettor-spec.html" = "https://gitlab.torproject.org/tpo/core/torspec/-/raw/main/attic/text_formats/gettor-spec.txt?ref_type=heads"
+"/rend-spec-v2.html" = "https://gitlab.torproject.org/tpo/core/torspec/-/blob/main/attic/rend-spec-v2.txt?ref_type=heads"
+"/rend-spec-v3.html" = "https://spec.torproject.org/rend-spec"
+"/tor-fw-helper-spec.html" = "https://gitlab.torproject.org/tpo/core/torspec/-/blob/main/attic/tor-fw-helper-spec.txt?ref_type=heads"
+"/torbrowser-design.html" = "https://2019.www.torproject.org/projects/torbrowser/design/"
+"/tor-design.html" = "https://svn.torproject.org/svn/projects/design-paper/tor-design.pdf"
+"/walking-onions.html" = "https://spec.torproject.org/proposals/323-walking-onions-full.html"
+# END AUTO-GENERATED REDIRECTS
+
+[output.linkcheck]
+warning-policy = "error"
+# We effectively disable checking link destinations by excluding
+# all links (`.*`).
+#
+# We're only using linkcheck to validate that reference-style links have *some*
+# definition in the markdown, ensuring that *some* link will be generated. We
+# validate that those links are correct using a separate tool (`bin/check_links`)
+exclude = [ '.*' ]