doc: Use @var for meta-syntactic variables.

* doc/guix.texi (Transparent Emulation with QEMU): Use @var instead of
angle brackets for meta-syntactic variables.
This commit is contained in:
Ludovic Courtès 2020-09-25 23:25:17 +02:00
parent e71d7b5e23
commit a0d4aa2457
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -25519,15 +25519,17 @@ By default, it produces
@lisp @lisp
'("--device" "rtl8139,netdev=net0" '("--device" "rtl8139,netdev=net0"
"--netdev" "user,id=net0\ "--netdev" "user,id=net0\
,hostfwd=tcp:127.0.0.1:<secrets-port>-:1004\ ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\
,hostfwd=tcp:127.0.0.1:<ssh-port>-:2222\ ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\
,hostfwd=tcp:127.0.0.1:<vnc-port>-:5900") ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900")
@end lisp @end lisp
with forwarded ports
with forwarded ports:
@example @example
<ssh-port>: @code{(+ 11004 (* 1000 @var{ID}))} @var{ssh-port}: @code{(+ 11004 (* 1000 @var{ID}))}
<ssh-port>: @code{(+ 10022 (* 1000 @var{ID}))} @var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}
<vnc-port>: @code{(+ 15900 (* 1000 @var{ID}))} @var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}
@end example @end example
@item @code{secret-root} (default: @file{/etc/childhurd}) @item @code{secret-root} (default: @file{/etc/childhurd})