aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-06 12:24:11 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-06 18:07:59 -0400
commitbc192a95ef4c777d9ca0ad025e0fb2b7f18879f7 (patch)
tree21f793b9bb8680895644df3fdcaa8258386a0d05 /src/libutil
parent6c4049b38a2e694d904b4bc4f3525efe68f2f611 (diff)
Describe active experimental features in the contributing guide
They are put in the manual separate pages under the new overarching description of experimental features. The settings page just lists the valid experimental feature names (so people know what a valid setting entry looks like), with links to those pages. It doesn't attempt to describe each experimental feature as that is too much information for the configuration settings section.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/config.hh2
-rw-r--r--src/libutil/experimental-features.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/config.hh b/src/libutil/config.hh
index b21f8a422..6baba0167 100644
--- a/src/libutil/config.hh
+++ b/src/libutil/config.hh
@@ -384,7 +384,7 @@ struct ExperimentalFeatureSettings : Config {
Experimental features available:
- {{#include experimental-features.md}}
+ {{#include experimental-features-shortlist.md}}
Experimental features are [further documented](@docroot@/contributing/experimental-features.md) in the contribution guide.
)"};
diff --git a/src/libutil/experimental-features.cc b/src/libutil/experimental-features.cc
index aa3367639..1cd0dbb79 100644
--- a/src/libutil/experimental-features.cc
+++ b/src/libutil/experimental-features.cc
@@ -57,7 +57,7 @@ constexpr std::array<ExperimentalFeatureDetails, 11> xpFeatureDetails = {{
.name = "flakes",
.description = R"(
Enable flakes. See the manual entry for [`nix
- flake`](../command-ref/new-cli/nix3-flake.md) for details.
+ flake`](@docroot@/command-ref/new-cli/nix3-flake.md) for details.
)",
},
{