aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/generate-features-shortlist.nix
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/generate-features-shortlist.nix')
-rw-r--r--doc/manual/generate-features-shortlist.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual/generate-features-shortlist.nix b/doc/manual/generate-features-shortlist.nix
new file mode 100644
index 000000000..055698d64
--- /dev/null
+++ b/doc/manual/generate-features-shortlist.nix
@@ -0,0 +1,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)))