unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Bruno Victal <mirai@makinata.eu>
To: 61688@debbugs.gnu.org
Cc: Bruno Victal <mirai@makinata.eu>
Subject: [bug#61688] [PATCH 3/3] doc: hosts-service-type: Improve documentation.
Date: Tue, 21 Feb 2023 21:37:09 +0000	[thread overview]
Message-ID: <c17ff24b1128c3452e77b4f7703bce275bb40978.1677015071.git.mirai@makinata.eu> (raw)
In-Reply-To: <cover.1677015070.git.mirai@makinata.eu>

* doc/guix.texi (Base Services): Improve hosts-service-type documentation.
---
 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 @@ Base Services
 
 @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 @@ Base Services
 
 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 @@ Base Services
 @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
 
-- 
2.39.1





  parent reply	other threads:[~2023-02-21 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21 21:34 [bug#61688] [PATCH 0/3] doc: hosts-service-type: Improve documentation Bruno Victal
2023-02-21 21:37 ` [bug#61688] [PATCH 1/3] doc: hosts-service-type: Relocate to Base Services Bruno Victal
2023-02-21 21:37 ` [bug#61688] [PATCH 2/3] system: Do not export local-host-entries Bruno Victal
2023-02-21 21:37 ` Bruno Victal [this message]
2023-02-23 15:19 ` bug#61688: [PATCH 0/3] doc: hosts-service-type: Improve documentation Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c17ff24b1128c3452e77b4f7703bce275bb40978.1677015071.git.mirai@makinata.eu \
    --to=mirai@makinata.eu \
    --cc=61688@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).