mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 03:04:34 +02:00
docs: refactor wrapper-options docs
This commit is contained in:
parent
5992a22821
commit
0562e519ec
6 changed files with 54 additions and 19 deletions
|
@ -42,13 +42,6 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
hmOptions = builtins.removeAttrs (lib.evalModules {
|
||||
modules = [
|
||||
../wrappers/modules/hm.nix
|
||||
{ _module.check = false; } # Ignore missing option declarations
|
||||
];
|
||||
}).options [ "_module" ];
|
||||
|
||||
options-json =
|
||||
(pkgs.nixosOptionsDoc {
|
||||
inherit (evaledModules) options;
|
||||
|
@ -83,7 +76,7 @@ in
|
|||
# Do not check if documentation builds fine on darwin as it fails:
|
||||
# > sandbox-exec: pattern serialization length 69298 exceeds maximum (65535)
|
||||
docs = pkgs.callPackage ./mdbook {
|
||||
inherit evaledModules hmOptions transformOptions;
|
||||
inherit evaledModules transformOptions;
|
||||
# TODO: Find how to handle stable when 24.11 lands
|
||||
search = mkSearch "/nixvim/search/";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue