feat(gen-docs): clean up presentation of output

This commit is contained in:
matt1432 2025-01-20 11:40:10 -05:00
parent d2c7ee7e25
commit b32fbc08bd
3 changed files with 5 additions and 4 deletions
apps/gen-docs

View file

@ -1,9 +1,9 @@
packageMetaFunc=$(cat << EOF
(x: {
attrs = builtins.mapAttrs (_: v: {
desc = v.meta.description or "";
desc = builtins.replaceStrings ["\n"] [""] (v.meta.description or "");
homepage = v.meta.homepage or "";
}) x.\${builtins.currentSystem};
}) (builtins.removeAttrs x.\${builtins.currentSystem} ["default"]);
})
EOF
)