home-manager/tests/modules/misc/manual/manual.nix

23 lines
741 B
Nix
Raw Normal View History

{ ... }:
{
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
2023-12-16 06:44:35 +00:00
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
'';
};
}