mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
autogenerated docs
This commit is contained in:
parent
1b3666276e
commit
fdaf68b8b5
7 changed files with 472 additions and 76 deletions
15
mkdocs.nix
Normal file
15
mkdocs.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
optEval = lib.evalModules { modules = [
|
||||
./modules/options.nix
|
||||
]; };
|
||||
optionsDoc = pkgs.nixosOptionsDoc {
|
||||
options = builtins.removeAttrs optEval.options [ "_module" ];
|
||||
};
|
||||
in
|
||||
pkgs.runCommand "options-doc.md" {} "cat ${optionsDoc.optionsCommonMark} >> $out"
|
||||
Loading…
Add table
Add a link
Reference in a new issue