1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00
home-manager/tests/modules/misc/manual/manual.nix
Viktor Kronvall 478e1bd9bb
docs: use .xhtml for appendices
(cherry picked from commit 6c82b1c9ce)
2023-12-17 13:04:03 +01:00

22 lines
741 B
Nix

{ ... }:
{
config = {
manual = {
html.enable = true;
manpages.enable = true;
json.enable = true;
};
nmt.script = ''
assertFileExists home-path/share/doc/home-manager/index.xhtml
assertFileExists home-path/share/doc/home-manager/options.json
assertFileExists home-path/share/doc/home-manager/options.xhtml
assertFileExists home-path/share/doc/home-manager/nixos-options.xhtml
assertFileExists home-path/share/doc/home-manager/nix-darwin-options.xhtml
assertFileExists home-path/share/doc/home-manager/release-notes.xhtml
assertFileExists home-path/share/man/man1/home-manager.1
assertFileExists home-path/share/man/man5/home-configuration.nix.5
'';
};
}