Closes: https://github.com/nix-community/stylix/issues/1474 Link: https://github.com/nix-community/stylix/pull/1478 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[book]
|
|
title = "Stylix"
|
|
language = "en"
|
|
|
|
[preprocessor.alerts]
|
|
renderers = ["html", "linkcheck"]
|
|
|
|
[output.html]
|
|
site-url = "/stylix/"
|
|
git-repository-url = "https://github.com/nix-community/stylix"
|
|
edit-url-template = "https://github.com/nix-community/stylix/edit/master/doc/{path}"
|
|
no-section-label = true
|
|
# Ensure static file (css, js) have a unique filename, to avoid outdated cache.
|
|
hash-files = true
|
|
additional-js = [
|
|
# JavaScript page redirects, using `window.location`.
|
|
# Supports redirecting from an #anchor tag.
|
|
#
|
|
# NOTE: this assumes the redirect file still exists
|
|
"redirects.js",
|
|
]
|
|
|
|
[output.html.fold]
|
|
enable = true
|
|
|
|
# HTML page redirects, using "meta refresh" tags.
|
|
# Usually preferred, but does not support redirects from #anchor tags.
|
|
#
|
|
# NOTE: The redirect target must be a path relative to the redirect file.
|
|
[output.html.redirect]
|
|
"/options/hm.html" = "./platforms/home_manager.html"
|
|
"/options/nixos.html" = "./platforms/nixos.html"
|
|
"/options/modules/nixvim.html" = "./neovim.html"
|
|
"/options/modules/nvf.html" = "./neovim.html"
|
|
"/options/modules/vim.html" = "./neovim.html"
|
|
|
|
[output.linkcheck]
|
|
follow-web-links = false
|
|
traverse-parent-directories = false
|
|
warning-policy = "error"
|