[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: doc: Adjust @var vs. @code.
From: |
guix-commits |
Subject: |
08/08: doc: Adjust @var vs. @code. |
Date: |
Wed, 22 Apr 2020 13:24:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9475c631a70b82614a8f3d6db2840d00955e2e1c
Author: Ludovic Courtès <address@hidden>
AuthorDate: Wed Apr 22 19:16:46 2020 +0200
doc: Adjust @var vs. @code.
* doc/guix.texi (Base Services): Adjust @var vs. @code. Use 'cons'
instead of 'cons*' in example.
---
doc/guix.texi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 538797a..4787f38 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12881,18 +12881,18 @@ upon detecting a USB device with a given product
identifier.
Return a service that extends @code{udev-service-type } with @var{rules}
and @code{account-service-type} with @var{groups} as system groups.
This works by creating a singleton service type
-@var{name}@code{-udev-rules}, of which the returned service is an
+@code{@var{name}-udev-rules}, of which the returned service is an
instance.
-Here we show how it can be used to extend @var{udev-service} with the
+Here we show how it can be used to extend @code{udev-service-type} with the
previously defined rule @code{%example-udev-rule}.
@lisp
(operating-system
;; @dots{}
(services
- (cons* (udev-rules-service 'usb-thing %example-udev-rule)
- %desktop-services)))
+ (cons (udev-rules-service 'usb-thing %example-udev-rule)
+ %desktop-services)))
@end lisp
@end deffn
@@ -12931,10 +12931,10 @@ The following example shows how to use the
@var{android-udev-rules}
package so that the Android tool @command{adb} can detect devices
without root privileges. It also details how to create the
@code{adbusers} group, which is required for the proper functioning of
-the rules defined within the @var{android-udev-rules} package. To
+the rules defined within the @code{android-udev-rules} package. To
create such a group, we must define it both as part of the
-@var{supplementary-groups} of our @var{user-account} declaration, as
-well as in the @var{groups} of the @var{udev-rules-service} procedure.
+@code{supplementary-groups} of our @code{user-account} declaration, as
+well as in the @var{groups} of the @code{udev-rules-service} procedure.
@lisp
(use-modules (gnu packages android) ;for android-udev-rules
- branch master updated (f916ac1 -> 9475c63), guix-commits, 2020/04/22
- 01/08: gexp: Add 'load-path?' field to <scheme-file>., guix-commits, 2020/04/22
- 03/08: profiles: Add #:name parameter to 'profile-derivation'., guix-commits, 2020/04/22
- 06/08: gnu: maths: dune-*: Update to version 2.7, guix-commits, 2020/04/22
- 02/08: system: 'operating-system-boot-parameters-file' uses 'scheme-file'., guix-commits, 2020/04/22
- 04/08: gnu: Add blueman., guix-commits, 2020/04/22
- 07/08: services: Add udev-rules-service helper., guix-commits, 2020/04/22
- 05/08: system: Split %BASE-PACKAGES in smaller parts., guix-commits, 2020/04/22
- 08/08: doc: Adjust @var vs. @code.,
guix-commits <=