From 49d61b2e4bf338042364c85d3c2ead0b33963e65 Mon Sep 17 00:00:00 2001 From: piegames Date: Sat, 13 Jul 2024 05:24:41 +0200 Subject: libexpr: Introduce Deprecated features They are like experimental features, but opt-in instead of opt-out. They will allow us to gracefully remove language features. See #437 Change-Id: I9ca04cc48e6926750c4d622c2b229b25cc142c42 --- doc/manual/generate-features-shortlist.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/manual/generate-features-shortlist.nix (limited to 'doc/manual/generate-features-shortlist.nix') 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))) -- cgit v1.2.3