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, ... }:
pkgs.buildPackages.nixosOptionsDoc ({
options = (lib.evalModules { inherit modules; }).options;
warningsAreErrors = false;
transformOptions = opt:
opt // {
# Clean up declaration sites to not refer to the Home Manager
@ -131,15 +130,6 @@ in {
'${hmOptionsDocs.optionsJSON}/share/doc/nixos' \
"$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;