aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/generate-features-shortlist.nix
blob: 055698d64f575a6443d5af69d253ad7beae66a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Usually "experimental" or "deprecated"
kind:
# "xp" or "dp"
kindShort:

with builtins;
with import ./utils.nix;

let
  showExperimentalFeature = name: doc: ''
    - [`${name}`](@docroot@/contributing/${kind}-features.md#${kindShort}-feature-${name})
  '';
in
xps: indent "  " (concatStrings (attrValues (mapAttrs showExperimentalFeature xps)))