aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/utils.nix
AgeCommit message (Collapse)Author
2024-04-08Format Nix code with `nixfmt`Rebecca Turner
Change-Id: I61efeb666ff7481c05fcb247168290e86a250151
2023-11-10backport fix for the `--help` outputValentin Gagarin
2023-04-16Mark experimental configuration settings programmaticallyJohn Ericson
Fix #8162 The test is changed to compare `nlohmann::json` values, not strings of dumped JSON, which allows us to format things more nicely.
2023-04-16Add `optionalString` to manual Nix lang utilitiesJohn Ericson
Use it everywhere it could be also.
2023-04-06Describe active experimental features in the contributing guideJohn Ericson
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.
2023-04-04Assemble experimental feature docs outside of Nix itselfJohn Ericson
Instead of constructing a markdown list in C++ (which involved all sorts of nasty string literals), export some JSON and assemble it with the manual build system. Besides following the precedent set with other dumped data, this is a better separate of content and presentation; if we decide for example we want to display this information in a different way, or in a different section of the manual, it will become much easier to do so.
2023-03-23showSetting: Drop ...Eelco Dolstra
2023-03-23Make useAnchors a named argumentEelco Dolstra
2023-03-22nix help-stores: Don't include anchorsEelco Dolstra
Since setting names are not unique we don't have an easy way to produce unique anchors.
2023-03-21FormattingEelco Dolstra
2023-03-21nix store --help: Include store type documentationEelco Dolstra
2022-09-30refactor showOptionsValentin Gagarin
it was quite a pain to manipulate strings just with `builtins`
2021-01-25Group subcommands by categoryEelco Dolstra
2020-09-16jq -> nixEelco Dolstra