aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/generate-xp-features.nix
blob: adb94355c83298e9a1e83a05f4a32dad3646b749 (plain)
1
2
3
4
5
6
7
8
9
10
11
with builtins;
with import ./utils.nix;

let
  showExperimentalFeature = name: doc:
    squash ''
      ## [`${name}`]{#xp-feature-${name}}

      ${doc}
    '';
in xps: (concatStringsSep "\n" (attrValues (mapAttrs showExperimentalFeature xps)))