diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-05-05 13:56:23 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-05-05 14:34:46 +0000 |
commit | 5f07f2ff2b964bec71be34cf6cf1265ce88b7490 (patch) | |
tree | 7b22af419e30be4c2a54883a838a845d4b22f05b /doc/manual/src/expressions | |
parent | fe3a10a9b2c61ba19b24da4c93c4abc9e7583f3d (diff) |
doc: builtins: use a definition list
This looks a lot better (and is also more semantically meaningful).
Since this list is generated in a Nix expression, I don't think using
HTML here is going to be the thing that puts people off modifying this
part of the documentation!
Diffstat (limited to 'doc/manual/src/expressions')
-rw-r--r-- | doc/manual/src/expressions/builtins-prefix.md | 9 | ||||
-rw-r--r-- | doc/manual/src/expressions/builtins-suffix.md | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/manual/src/expressions/builtins-prefix.md b/doc/manual/src/expressions/builtins-prefix.md index c16b2805f..87127de2a 100644 --- a/doc/manual/src/expressions/builtins-prefix.md +++ b/doc/manual/src/expressions/builtins-prefix.md @@ -9,7 +9,8 @@ scope. Instead, you can access them through the `builtins` built-in value, which is a set that contains all built-in functions and values. For instance, `derivation` is also available as `builtins.derivation`. - - `derivation` *attrs*; `builtins.derivation` *attrs*\ - - `derivation` is described in [its own section](derivations.md). - +<dl> + <dt><code>derivation <var>attrs</var></code>; + <code>builtins.derivation <var>attrs</var></code></dt> + <dd><p><var>derivation</var> in described in + <a href="derivations.md">its own section</a>.</p></dd> diff --git a/doc/manual/src/expressions/builtins-suffix.md b/doc/manual/src/expressions/builtins-suffix.md new file mode 100644 index 000000000..a74db2857 --- /dev/null +++ b/doc/manual/src/expressions/builtins-suffix.md @@ -0,0 +1 @@ +</dl> |