11.stylix/doc/book.toml
stylix-automation[bot] a525e4774f
flake: update all inputs (#2117)
Update all inputs and, following upstream commit [2] ("mdbook: 0.4.52 ->
0.5.1"), remove the deprecated and natively supported mdbook-alerts
plugin [1], and the currently broken mdbook-linkcheck plugin [3].

Link: https://github.com/nix-community/stylix/pull/2117

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>

[1]: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/96
[2]: f19b523d5c
[3]: d7a11a019e
2026-01-08 16:33:04 +01:00

32 lines
1 KiB
TOML

[book]
title = "Stylix"
language = "en"
[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"