3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc
Naïm Favier 6a117e2759 nixos/doc: render option values using lib.generators.toPretty
Render un`_type`d defaults and examples as `literalExpression`s using
`lib.generators.toPretty` so that consumers don't have to reinvent Nix
pretty-printing. `renderOptionValue` is kept internal for now intentionally.

Make `toPretty` print floats as valid Nix values (without a tilde).

Get rid of the now-obsolete `substSpecial` function.

Move towards disallowing evaluation of packages in the manual by
raising a warning on `pkgs.foo.{outPath,drvPath}`; later, this should
throw an error. Instead, module authors should use `literalExpression`
and `mkPackageOption`.
2022-12-08 17:52:52 +01:00
..
documentation nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
nixpkgs nixos/nixpkgs: Only error when nixpkgs options are actually used 2022-10-20 11:19:20 +02:00
assertions.nix nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
crashdump.nix
documentation.nix nixos/doc: render option values using lib.generators.toPretty 2022-12-08 17:52:52 +01:00
extra-arguments.nix
ids.nix automatic-timezoned: init at 1.0.41 2022-11-16 15:26:21 -08:00
label.nix nixos/*: convert options with listings 2022-08-31 17:27:36 +02:00
lib.nix
locate.nix nixos/*: literalDocBook -> literalMD 2022-08-27 19:18:29 +02:00
man-db.nix nixos/mandb: fix cross compiling 2022-11-22 20:13:25 +01:00
mandoc.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
meta.nix nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
nixops-autoluks.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
nixpkgs.nix nixos/nixpkgs: remove unused binding 2022-11-30 17:27:31 -05:00
passthru.nix nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
version.nix Merge pull request #181222 from hercules-ci/module-specialArgs 2022-08-08 11:53:10 +02:00
wordlist.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00