guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: doc: Use @lisp for 'static-networking-service-type' example.


From: guix-commits
Subject: 02/04: doc: Use @lisp for 'static-networking-service-type' example.
Date: Tue, 14 Dec 2021 18:42:24 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit d68cc7fe96c308775138c5af8aaf4436d35beb41
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 15 00:15:13 2021 +0100

    doc: Use @lisp for 'static-networking-service-type' example.
    
    * doc/guix.texi (Networking Setup): Use @lisp for
    'static-networking-service-type' example.
---
 doc/guix.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index bcdc697..2e7e02c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17078,7 +17078,7 @@ show below.
 Here is the simplest configuration, with only one network interface
 controller (NIC) and only IPv4 connectivity:
 
-@example
+@lisp
 ;; Static networking for one NIC, IPv4-only.
 (service static-networking-service-type
          (list (static-networking
@@ -17091,7 +17091,7 @@ controller (NIC) and only IPv4 connectivity:
                         (destination "default")
                         (gateway "10.0.2.2"))))
                 (name-servers '("10.0.2.3")))))
-@end example
+@end lisp
 
 The snippet above can be added to the @code{services} field of your
 operating system configuration (@pxref{Using the Configuration System}).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]