[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/15: doc: hosts-service-type: Improve documentation.
From: |
guix-commits |
Subject: |
10/15: doc: hosts-service-type: Improve documentation. |
Date: |
Thu, 23 Feb 2023 10:33:53 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 4372abfb0fc6ab80b1cc5d866b5889afe9d99758
Author: Bruno Victal <mirai@makinata.eu>
AuthorDate: Tue Feb 21 21:37:09 2023 +0000
doc: hosts-service-type: Improve documentation.
* doc/guix.texi (Base Services): Improve hosts-service-type documentation.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
doc/guix.texi | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 4143488b93..85768a4b60 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -18022,7 +18022,7 @@ package or any valid argument to @command{setfont}, as
in this example:
@defvar hosts-service-type
Type of the service that populates the entries for (@file{/etc/hosts}).
-This service type can be extended by passing it a list of
+This service type can be @emph{extended} by passing it a list of
@code{host} records.
@c TRANSLATORS: The domain names below SHOULD NOT be translated.
@@ -18047,10 +18047,11 @@ By default @file{/etc/host} comes with the following
entries:
For most setups this is what you want though if you find yourself in
the situation where you want to change the default entries, you can
-do so in @code{operating-system}.@pxref{operating-system
Reference,@code{essential-services}}
+do so in @code{operating-system} via @code{modify-services}
+(@pxref{Service Reference,@code{modify-services}}).
-The following example shows how one would unset @var{host-name}
-from being an alias of @code{localhost}.
+The following example shows how to unset @var{host-name} from being an
+alias of @code{localhost}.
@lisp
(operating-system
;; @dots{}
@@ -18085,9 +18086,9 @@ Procedure for creating @code{host} records.
@end defun
@quotation Note
-The @code{host} data type constructor is @code{%host} though it is
-tiresome to create multiple records with it so in practice the procedure
-@code{host} (which wraps around @code{%host}) is used instead.
+The constructor for the @code{host} record-type is @code{%host} though
+the procedure @code{host} results in more concise definitions when there are
+multiple @code{host} records.
@end quotation
@end defvar
- 02/15: gnu: ucx: Use gexps., (continued)
- 02/15: gnu: ucx: Use gexps., guix-commits, 2023/02/23
- 01/15: gnu: ucx: Mark POWER9 as supported., guix-commits, 2023/02/23
- 03/15: gnu: infiniband-diags: Use gexps., guix-commits, 2023/02/23
- 04/15: gnu: ibutils: Use gexps., guix-commits, 2023/02/23
- 06/15: gnu: psm2: Use gexps., guix-commits, 2023/02/23
- 05/15: gnu: ibutils: Fix compilation., guix-commits, 2023/02/23
- 12/15: doc: Further clarify documentation of 'host' and 'hosts-service-type'., guix-commits, 2023/02/23
- 07/15: gnu: openmpi: Use gexps., guix-commits, 2023/02/23
- 08/15: doc: hosts-service-type: Relocate to Base Services., guix-commits, 2023/02/23
- 09/15: system: Do not export local-host-entries., guix-commits, 2023/02/23
- 10/15: doc: hosts-service-type: Improve documentation.,
guix-commits <=
- 11/15: services: hosts: Do not export '%host'., guix-commits, 2023/02/23
- 13/15: gnu: lightning: Update to 2.2.1, guix-commits, 2023/02/23
- 15/15: gnu: gnulib: Allow only one directory name in GNULIB_SRCDIR., guix-commits, 2023/02/23
- 14/15: gnu: Add aspell-dict-bg., guix-commits, 2023/02/23