forked from lix-project/lix
Nitpicks
This commit is contained in:
parent
73eb6a2a57
commit
deb7f4b466
|
@ -382,11 +382,11 @@ struct ExperimentalFeatureSettings : Config {
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
```
|
```
|
||||||
|
|
||||||
Experimental features available:
|
The following experimental features are available:
|
||||||
|
|
||||||
{{#include experimental-features-shortlist.md}}
|
{{#include experimental-features-shortlist.md}}
|
||||||
|
|
||||||
Experimental features are [further documented](@docroot@/contributing/experimental-features.md) in the contribution guide.
|
Experimental features are [further documented in the manual](@docroot@/contributing/experimental-features.md).
|
||||||
)"};
|
)"};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -223,7 +223,8 @@ std::string_view showExperimentalFeature(const ExperimentalFeature tag)
|
||||||
return xpFeatureDetails[(size_t)tag].name;
|
return xpFeatureDetails[(size_t)tag].name;
|
||||||
}
|
}
|
||||||
|
|
||||||
nlohmann::json documentExperimentalFeatures() {
|
nlohmann::json documentExperimentalFeatures()
|
||||||
|
{
|
||||||
StringMap res;
|
StringMap res;
|
||||||
for (auto & xpFeature : xpFeatureDetails)
|
for (auto & xpFeature : xpFeatureDetails)
|
||||||
res[std::string { xpFeature.name }] =
|
res[std::string { xpFeature.name }] =
|
||||||
|
|
Loading…
Reference in a new issue