diff options
author | Herman Rimm <herman@rimm.ee> | 2024-09-27 20:39:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-10-14 14:08:43 +0200 |
commit | 766ad072ad90d4ffc161cb83e29910b7bb3a9d54 (patch) | |
tree | c004c9925b3203e55db235a6d3280f9b20b5062c /doc | |
parent | 41b5b723b32142f05da49570a0fa3fae46237661 (diff) | |
download | guix-766ad072ad90d4ffc161cb83e29910b7bb3a9d54.tar.gz guix-766ad072ad90d4ffc161cb83e29910b7bb3a9d54.zip |
services: configuration: Document multiple configurations per field.
* gnu/services/configuration.scm (generate-documentation): Filter for all
configurations associated with each field-name.
* doc/guix.texi (Complex Configurations): Describe use case for multiple
field-names.
Change-Id: I6d1e7b8858231aa05fda884b31a9bd0a48f07293
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 35e5883308..07dd00a7c2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -44702,7 +44702,9 @@ available for the configuration record. @var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and -@var{configuration-name} is the name of that configuration record. +@var{configuration-name} is the name of that configuration record. The +same value may be used for multiple @var{field-name}s, in case a field +accepts different types of configurations. @var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record |