mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
docs: clean up after Markdown migration
This commit is contained in:
parent
60e4228504
commit
7398af11b8
1 changed files with 0 additions and 10 deletions
|
@ -49,7 +49,6 @@ let
|
||||||
buildOptionsDocs = args@{ modules, ... }:
|
buildOptionsDocs = args@{ modules, ... }:
|
||||||
pkgs.buildPackages.nixosOptionsDoc ({
|
pkgs.buildPackages.nixosOptionsDoc ({
|
||||||
options = (lib.evalModules { inherit modules; }).options;
|
options = (lib.evalModules { inherit modules; }).options;
|
||||||
warningsAreErrors = false;
|
|
||||||
transformOptions = opt:
|
transformOptions = opt:
|
||||||
opt // {
|
opt // {
|
||||||
# Clean up declaration sites to not refer to the Home Manager
|
# Clean up declaration sites to not refer to the Home Manager
|
||||||
|
@ -131,15 +130,6 @@ in {
|
||||||
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
|
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
|
||||||
"$out/share/doc/home-manager"
|
"$out/share/doc/home-manager"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Temporary export for Markdown migration.
|
|
||||||
docBookForMigration = pkgs.runCommand "hm-docbook-for-migration" { } ''
|
|
||||||
cat \
|
|
||||||
${hmOptionsDocs.optionsDocBook} \
|
|
||||||
${nixDarwinOptionsDocs.optionsDocBook} \
|
|
||||||
${nixosOptionsDocs.optionsDocBook} \
|
|
||||||
> $out
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
manPages = docs.manPages;
|
manPages = docs.manPages;
|
||||||
|
|
Loading…
Reference in a new issue