mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
create static docs site with module options
This commit is contained in:
parent
e3127e8c14
commit
e75b801a31
24 changed files with 448 additions and 19 deletions
|
|
@ -126,11 +126,12 @@ with lib; let
|
|||
};
|
||||
|
||||
indexOf = lst: value:
|
||||
head (filter (v: v != -1) (imap0 (i: v:
|
||||
if v == value
|
||||
then i
|
||||
else -1)
|
||||
lst));
|
||||
head (filter (v: v != -1) (imap0
|
||||
(i: v:
|
||||
if v == value
|
||||
then i
|
||||
else -1)
|
||||
lst));
|
||||
|
||||
compareVersions = ver1: ver2: let
|
||||
getVersion = substring 1 10;
|
||||
|
|
@ -302,7 +303,7 @@ in {
|
|||
type = types.submodule {
|
||||
imports =
|
||||
[
|
||||
(./generated + ''/v'' + cfg.version + ".nix")
|
||||
./generated/v${cfg.version}.nix
|
||||
apiOptions
|
||||
]
|
||||
++ customResourceOptions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue