diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-11-09 21:06:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-11-09 21:06:15 -0500 |
commit | db5400a93658fc6fbf323d8ddccef988cd9cf508 (patch) | |
tree | 6e125dcea8de94b01d540e7789b7e40989c4b48f /mdbook/proposals/book.toml | |
parent | bd2260419ce5981778943489fc4fc057251c5bdf (diff) | |
parent | f275aa9f638ddef1f83006260ac27c609a426a45 (diff) | |
download | torspec-db5400a93658fc6fbf323d8ddccef988cd9cf508.tar.gz torspec-db5400a93658fc6fbf323d8ddccef988cd9cf508.zip |
Merge remote-tracking branch 'origin/mr/220'
Diffstat (limited to 'mdbook/proposals/book.toml')
-rw-r--r-- | mdbook/proposals/book.toml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mdbook/proposals/book.toml b/mdbook/proposals/book.toml index fdbe64a..e466b1b 100644 --- a/mdbook/proposals/book.toml +++ b/mdbook/proposals/book.toml @@ -7,7 +7,7 @@ title = "Tor design proposals" use-default-preprocessors = false [build] -build-dir = "../../html/proposals" +build-dir = "../../build/proposals" [preprocessor.links] @@ -19,6 +19,16 @@ theme = "../theme" # additional-js = ["theme/pagetoc.js"] no-section-label = true +[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 = [ '.*' ] + [output.html.search] enable = false |