diff options
author | Naïm Favier <n@monade.li> | 2022-12-21 21:24:48 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-12-27 17:13:47 +0100 |
commit | d11832fd96ec146fc57ad11ec71dda7c0a2dee9c (patch) | |
tree | e55dc2eee608ef69d10eda418d0306a92a914e98 /nixos/doc/manual/from_md/development/option-types.section.xml | |
parent | 3fc528ff7fa9d0de0343ffd877cdb76287be2549 (diff) | |
download | nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar.gz nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar.bz2 nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar.lz nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar.xz nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.tar.zst nixpkgs-d11832fd96ec146fc57ad11ec71dda7c0a2dee9c.zip |
doc,nixos/doc: unescape apostrophes
Leftovers from the CommonMark conversion.
Diffstat (limited to 'nixos/doc/manual/from_md/development/option-types.section.xml')
-rw-r--r-- | nixos/doc/manual/from_md/development/option-types.section.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/doc/manual/from_md/development/option-types.section.xml b/nixos/doc/manual/from_md/development/option-types.section.xml index c0f40cb3423..f7870f8beb3 100644 --- a/nixos/doc/manual/from_md/development/option-types.section.xml +++ b/nixos/doc/manual/from_md/development/option-types.section.xml @@ -152,13 +152,13 @@ <warning> <para> This type will be deprecated in the future because it - doesn't recurse into attribute sets, silently drops - earlier attribute definitions, and doesn't discharge + doesn’t recurse into attribute sets, silently drops + earlier attribute definitions, and doesn’t discharge <literal>lib.mkDefault</literal>, <literal>lib.mkIf</literal> and co. For allowing arbitrary attribute sets, prefer <literal>types.attrsOf types.anything</literal> instead - which doesn't have these problems. + which doesn’t have these problems. </para> </warning> </listitem> @@ -453,7 +453,7 @@ <literal>_module.args</literal> should be used instead for most arguments since it allows overriding. <emphasis><literal>specialArgs</literal></emphasis> - should only be used for arguments that can't go through + should only be used for arguments that can’t go through the module fixed-point, because of infinite recursion or other problems. An example is overriding the <literal>lib</literal> argument, because @@ -477,7 +477,7 @@ instead of requiring <literal>the-submodule.config.config = "value"</literal>. This is because only when modules - <emphasis>don't</emphasis> set the + <emphasis>don’t</emphasis> set the <literal>config</literal> or <literal>options</literal> keys, all keys are interpreted as option definitions in the <literal>config</literal> section. Enabling this |