nix-super/doc/manual/generate-xp-features.nix

14 lines
251 B
Nix
Raw Permalink Normal View History

with builtins;
with import <nix/utils.nix>;
let
showExperimentalFeature = name: doc:
squash ''
## [`${name}`]{#xp-feature-${name}}
${doc}
'';
in
xps: (concatStringsSep "\n" (attrValues (mapAttrs showExperimentalFeature xps)))