fix(docs): Only display our options
This commit is contained in:
parent
b036df017c
commit
6e09ac2584
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
{ pkgs, lib, markdown }:
|
||||
let
|
||||
eval = lib.evalModules { modules = [ ../nixos/options.nix ]; };
|
||||
nixos-markdown = (pkgs.nixosOptionsDoc { inherit (eval) options; }).optionsCommonMark;
|
||||
nixos-markdown = (pkgs.nixosOptionsDoc {
|
||||
inherit (eval) options;
|
||||
transformOptions = option: option // { visible = option.visible && builtins.elemAt option.loc 0 == "jconfig"; };
|
||||
}).optionsCommonMark;
|
||||
in
|
||||
{
|
||||
markdown = nixos-markdown;
|
||||
|
|
Loading…
Reference in a new issue