mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wrapper-manager-fds/docs: update website build step
This commit is contained in:
parent
e6d2cb4e9d
commit
6cf57d14cf
@ -66,6 +66,8 @@ let
|
|||||||
modules = [ ../modules/wrapper-manager ] ++ extraModules;
|
modules = [ ../modules/wrapper-manager ] ++ extraModules;
|
||||||
includeModuleSystemOptions = true;
|
includeModuleSystemOptions = true;
|
||||||
};
|
};
|
||||||
|
wmNixosDoc = evalDoc { modules = [ ../modules/env/nixos ]; };
|
||||||
|
wmHmDoc = evalDoc { modules = [ ../modules/env/home-manager ]; };
|
||||||
|
|
||||||
gems = pkgs.bundlerEnv {
|
gems = pkgs.bundlerEnv {
|
||||||
name = "wrapper-manager-fds-gem-env";
|
name = "wrapper-manager-fds-gem-env";
|
||||||
@ -134,6 +136,12 @@ in
|
|||||||
gems.wrappedRuby
|
gems.wrappedRuby
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
install -Dm0644 ${wmOptionsDoc.optionsAsciiDoc} ./content/en/wrapper-manager-env-options.adoc
|
||||||
|
install -Dm0644 ${wmNixosDoc.optionsAsciiDoc} ./content/en/wrapper-manager-nixos-module.adoc
|
||||||
|
install -Dm0644 ${wmHmDoc.optionsAsciiDoc} ./content/en/wrapper-manager-home-manager-module.adoc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "wrapper-manager-fds documentation";
|
description = "wrapper-manager-fds documentation";
|
||||||
homepage = "https://github.com/foo-dogsquared/wrapper-manager-fds";
|
homepage = "https://github.com/foo-dogsquared/wrapper-manager-fds";
|
||||||
@ -145,9 +153,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit wmOptionsDoc;
|
inherit wmOptionsDoc wmHmDoc wmNixosDoc;
|
||||||
wmNixosDoc = evalDoc { modules = [ ../modules/env/nixos ]; };
|
|
||||||
wmHmDoc = evalDoc { modules = [ ../modules/env/home-manager ]; };
|
|
||||||
|
|
||||||
inherit releaseConfig;
|
inherit releaseConfig;
|
||||||
outputs = {
|
outputs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user