diff options
Diffstat (limited to 'mdbook/spec/book.toml')
-rw-r--r-- | mdbook/spec/book.toml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mdbook/spec/book.toml b/mdbook/spec/book.toml index b85e320..16668c9 100644 --- a/mdbook/spec/book.toml +++ b/mdbook/spec/book.toml @@ -6,7 +6,7 @@ src = "../../spec" title = "Tor Specifications" [build] -build-dir = "../../html" +build-dir = "../../build/spec" [preprocessor] @@ -25,3 +25,13 @@ theme = "../theme" "/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 = [ '.*' ] |