From: Bruno Victal <mirai@makinata.eu>
To: 62042@debbugs.gnu.org
Cc: Bruno Victal <mirai@makinata.eu>
Subject: [bug#62042] [PATCH 1/4] doc: Fix incorrect @deffn usage for service-types.
Date: Wed, 8 Mar 2023 01:22:06 +0000 [thread overview]
Message-ID: <5915e69013728ad595e24a533598dc8212be8567.1678238486.git.mirai@makinata.eu> (raw)
In-Reply-To: <cover.1678237929.git.mirai@makinata.eu>
* doc/guix.texi (Networking Services): Fix incorrect @deffn usage for service-types.
---
doc/guix.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 6671ba9305..4f9eeede8a 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20034,7 +20034,7 @@ Networking Services
@command{inetd} ``superdaemon'', and more. This section describes
those.
-@deffn {Scheme Procedure} dhcpd-service-type
+@defvar dhcpd-service-type
This type defines a service that runs a DHCP daemon. To create a
service of this type, you must supply a @code{<dhcpd-configuration>}.
For example:
@@ -20045,7 +20045,7 @@ Networking Services
(config-file (local-file "my-dhcpd.conf"))
(interfaces '("enp0s25"))))
@end lisp
-@end deffn
+@end defvar
@deftp {Data Type} dhcpd-configuration
@table @asis
@@ -20281,7 +20281,7 @@ Networking Services
@end deftp
@cindex OpenNTPD
-@deffn {Scheme Procedure} openntpd-service-type
+@defvar openntpd-service-type
Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented
by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system
clock synchronized with that of the given servers.
@@ -20296,7 +20296,7 @@ Networking Services
(constraints-from '("https://www.google.com/"))))
@end lisp
-@end deffn
+@end defvar
@defvar %openntpd-servers
This variable is a list of the server addresses defined in
base-commit: c0650cf5b749adb3b9bb9c6061ef4f1f9bdc370e
--
2.39.1
next prev parent reply other threads:[~2023-03-08 1:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 1:19 [bug#62042] [PATCH 0/4] Harmonize @-commands used in doc/guix.texi Bruno Victal
2023-03-08 1:22 ` Bruno Victal [this message]
2023-03-08 1:22 ` [bug#62042] [PATCH 2/4] doc: Fix incorrect @deffn usage for data types Bruno Victal
2023-03-08 1:22 ` [bug#62042] [PATCH 3/4] doc: Use @defun for procedures Bruno Victal
2023-03-08 1:22 ` [bug#62042] [PATCH 4/4] doc: Use @defmac and @defspec for macros Bruno Victal
2023-03-13 14:06 ` bug#62042: [PATCH 0/4] Harmonize @-commands used in doc/guix.texi 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5915e69013728ad595e24a533598dc8212be8567.1678238486.git.mirai@makinata.eu \
--to=mirai@makinata.eu \
--cc=62042@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.