diff options
| author | Emily <vcs@emily.moe> | 2023-06-22 12:21:32 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2023-06-24 10:48:55 +0100 |
| commit | e65131e69cab1b18fb49b572b983a18720502e1b (patch) | |
| tree | 8bfb50580aad1bc01db494a138ac0855bfc518b3 /modules/lib | |
| parent | efe314cdbabaf5cd210d9c658b4ad540437b7ee5 (diff) | |
treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.
As of this commit there is no DocBook remaining in the options
documentation.
You can play along at home if you want to reproduce this commit:
$ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
nix shell nixpkgs#coreutils \
-c find . -name '*.nix' \
-exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
{} +
[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
Diffstat (limited to 'modules/lib')
| -rw-r--r-- | modules/lib/write-text.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/lib/write-text.nix b/modules/lib/write-text.nix index 2fe02af..b8f2ad5 100644 --- a/modules/lib/write-text.nix +++ b/modules/lib/write-text.nix @@ -16,7 +16,7 @@ in enable = mkOption { type = types.bool; default = true; - description = '' + description = lib.mdDoc '' Whether this file should be generated. This option allows specific files to be disabled. ''; @@ -25,7 +25,7 @@ in text = mkOption { type = types.lines; default = ""; - description = '' + description = lib.mdDoc '' Text of the file. ''; }; @@ -33,14 +33,14 @@ in target = mkOption { type = types.str; default = name; - description = '' + description = lib.mdDoc '' Name of symlink. Defaults to the attribute name. ''; }; source = mkOption { type = types.path; - description = '' + description = lib.mdDoc '' Path of the source file. ''; }; @@ -48,7 +48,7 @@ in copy = mkOption { type = types.bool; default = false; - description = '' + description = lib.mdDoc '' Whether this file should be copied instead of symlinking. ''; }; |
