mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: Add a section on module specific options (#1355)
This commit only adds Home-Manager specific options, we should add sections for the different kind of modules too. This is _not_ added to the man docs, as it is more complex. If need arises we could look into how to do it.
This commit is contained in:
parent
c706207007
commit
6d1ef5864b
6 changed files with 37 additions and 8 deletions
|
@ -69,6 +69,16 @@
|
|||
})
|
||||
]
|
||||
++ (rawModules pkgsDoc);
|
||||
|
||||
hmOptions =
|
||||
builtins.removeAttrs
|
||||
(lib.evalModules {
|
||||
modules = [
|
||||
(import ../wrappers/modules/hm.nix {inherit lib;})
|
||||
];
|
||||
})
|
||||
.options
|
||||
["_module"];
|
||||
in
|
||||
rec {
|
||||
options-json =
|
||||
|
@ -93,6 +103,6 @@ in
|
|||
docs = pkgsDoc.callPackage ./mdbook {
|
||||
inherit transformOptions;
|
||||
modules = topLevelModules;
|
||||
inherit helpers;
|
||||
inherit helpers hmOptions;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue