Compare commits
No commits in common. "d1d6468e190ac420c44bc978451b7b315f86e99a" and "69c741e87a9c7cadb1fc4040356e2ffe1e0aacfd" have entirely different histories.
d1d6468e19
...
69c741e87a
1 changed files with 0 additions and 20 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
"^docs/.*"
|
"^docs/.*"
|
||||||
],
|
],
|
||||||
linkToRepo ? false,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
|
|
@ -80,25 +79,6 @@ stdenvNoCC.mkDerivation {
|
||||||
moduleOptionsDoc =
|
moduleOptionsDoc =
|
||||||
(nixosOptionsDoc {
|
(nixosOptionsDoc {
|
||||||
options = lib.removeAttrs modulesEval.options [ "_module" ];
|
options = lib.removeAttrs modulesEval.options [ "_module" ];
|
||||||
transformOptions =
|
|
||||||
opt:
|
|
||||||
opt
|
|
||||||
// {
|
|
||||||
declarations = map (
|
|
||||||
decl:
|
|
||||||
let
|
|
||||||
file = toString decl;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
name = relPath file;
|
|
||||||
url =
|
|
||||||
if linkToRepo then
|
|
||||||
"https://git.shellgod.icu/Sk7Str1p3/nixos/src/branch/main/${relPath file}"
|
|
||||||
else
|
|
||||||
"file://${decl}";
|
|
||||||
}
|
|
||||||
) opt.declarations;
|
|
||||||
};
|
|
||||||
}).optionsCommonMark;
|
}).optionsCommonMark;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue