mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
be10c09d23
mdbook-linkcheck is not consistent about its warning setting. It disables some warnings, but not the warnings about lack of fragment checking support; hence the extra filtering.
22 lines
656 B
TOML
22 lines
656 B
TOML
[book]
|
|
title = "Nix Reference Manual"
|
|
|
|
[output.html]
|
|
additional-css = ["custom.css"]
|
|
additional-js = ["redirects.js"]
|
|
edit-url-template = "https://github.com/NixOS/nix/tree/master/doc/manual/{path}"
|
|
git-repository-url = "https://github.com/NixOS/nix"
|
|
|
|
[preprocessor.anchors]
|
|
renderers = ["html"]
|
|
command = "jq --from-file doc/manual/anchors.jq"
|
|
|
|
[output.linkcheck]
|
|
# no Internet during the build (in the sandbox)
|
|
follow-web-links = false
|
|
|
|
# mdbook-linkcheck does not understand [foo]{#bar} style links, resulting in
|
|
# excessive "Potential incomplete link" warnings. No other kind of warning was
|
|
# produced at the time of writing.
|
|
warning-policy = "ignore"
|