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

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

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