Added manpages to the generated documentation

This commit is contained in:
hylodon 2026-03-01 19:28:05 +00:00
parent ba6377b375
commit 4472d74e96
5 changed files with 49 additions and 0 deletions

View file

@ -6,6 +6,8 @@
}:
let
man = pkgs.callPackage ./man { inherit self; };
baseModule = _: {
# Hide documentation relating to _module.args, which isn't a part
# of this flake
@ -35,6 +37,8 @@ let
commonMark = docs.optionsCommonMark;
json = docs.optionsJSON;
nix = docs.optionsNix;
man = man.build "modules" subcomponent docs.optionsJSON;
};
in
{