1
0
Fork 0
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:
Emily 2023-07-01 11:33:55 +01:00
parent 60e4228504
commit 7398af11b8

View file

@ -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;