diff options
author | Graham Christensen <graham@grahamc.com> | 2018-09-01 15:49:04 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-09-01 16:20:49 -0400 |
commit | 18fd616351a25622b1dc43c59d0c52ace5bfe3ef (patch) | |
tree | e0af257354898c85e75899e9152730de64b72844 /nixos/doc/manual/development/option-types.xml | |
parent | 03b89e3031bb983fcc59a9f7794157e2e7b67102 (diff) | |
download | nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar.gz nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar.bz2 nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar.lz nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar.xz nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.tar.zst nixlib-18fd616351a25622b1dc43c59d0c52ace5bfe3ef.zip |
nixos docs: Give sections IDs
Diffstat (limited to 'nixos/doc/manual/development/option-types.xml')
-rw-r--r-- | nixos/doc/manual/development/option-types.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml index 47dd09158e91..e6c9eae11a72 100644 --- a/nixos/doc/manual/development/option-types.xml +++ b/nixos/doc/manual/development/option-types.xml @@ -11,7 +11,7 @@ value definitions. </para> - <section> + <section xml:id="sec-option-types-basic"> <title>Basic Types</title> <para> @@ -196,7 +196,7 @@ </variablelist> </section> - <section> + <section xml:id="sec-option-types-value"> <title>Value Types</title> <para> @@ -257,7 +257,7 @@ </variablelist> </section> - <section> + <section xml:id="sec-option-types-composed"> <title>Composed Types</title> <para> @@ -483,7 +483,7 @@ config.mod.two = { foo = 2; bar = "two"; };</screen> </example> </section> - <section> + <section xml:id="sec-option-types-extending"> <title>Extending types</title> <para> @@ -543,14 +543,14 @@ nixThings = mkOption { </variablelist> </section> - <section> + <section xml:id="sec-option-types-custom"> <title>Custom Types</title> <para> Custom types can be created with the <literal>mkOptionType</literal> function. As type creation includes some more complex topics such as submodule handling, it is recommended to get familiar with - <filename + <filename xlink:href="https://github.com/NixOS/nixpkgs/blob/master/lib/types.nix">types.nix</filename> code before creating a new type. </para> |