summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-03-08 01:22:07 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-13 15:08:35 +0100
commitdbfaca42a0377c65b96e11ef292275cb0113108f (patch)
tree3dd5710d32504bc289bf815e86a87eade2e1b253 /doc
parenteec5b16d7068610554195f7fcfdfa7d974869a9a (diff)
doc: Fix incorrect @deffn usage for data types.
* doc/guix.texi (Web Services): Fix incorrect @deffn usage for data types. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index b8da614680..a2beaa832c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -29610,7 +29610,7 @@ The details for the @code{httpd-configuration}, @code{httpd-module},
@code{httpd-config-file} and @code{httpd-virtualhost} record types are
given below.
-@deffn {Data Type} httpd-configuration
+@deftp {Data Type} httpd-configuration
This data type represents the configuration for the httpd service.
@table @asis
@@ -29627,9 +29627,9 @@ G-expression that generates a file, for example a @code{plain-file}. A
file outside of the store can also be specified through a string.
@end table
-@end deffn
+@end deftp
-@deffn {Data Type} httpd-module
+@deftp {Data Type} httpd-module
This data type represents a module for the httpd service.
@table @asis
@@ -29643,13 +29643,13 @@ within the store, for example @code{(file-append mod-wsgi
"/modules/mod_wsgi.so")}.
@end table
-@end deffn
+@end deftp
@defvar %default-httpd-modules
A default list of @code{httpd-module} objects.
@end defvar
-@deffn {Data Type} httpd-config-file
+@deftp {Data Type} httpd-config-file
This data type represents a configuration file for the httpd service.
@table @asis
@@ -29728,9 +29728,9 @@ Any values which the service is extended with will be appended to this
list.
@end table
-@end deffn
+@end deftp
-@deffn {Data Type} httpd-virtualhost
+@deftp {Data Type} httpd-virtualhost
This data type represents a virtualhost configuration block for the httpd service.
These should be added to the extra-config for the httpd-service.
@@ -29754,7 +29754,7 @@ The contents of the @code{VirtualHost} directive, this should be a list
of strings and G-expressions.
@end table
-@end deffn
+@end deftp
@anchor{NGINX}
@subsubheading NGINX
@@ -29795,7 +29795,7 @@ configuration. In our case, startup error messages can be found in
@file{/var/log/nginx/error.log}. The second location can be changed
with the @var{log-directory} configuration option.
-@deffn {Data Type} nginx-configuration
+@deftp {Data Type} nginx-configuration
This data type represents the configuration for NGinx. Some
configuration can be done through this and the other provided record
types, or alternatively, a config file can be provided.
@@ -29935,7 +29935,7 @@ Extra content for the @code{http} block. Should be string or a string
valued G-expression.
@end table
-@end deffn
+@end deftp
@anchor{nginx-server-configuration}
@deftp {Data Type} nginx-server-configuration