[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: doc: Replace @example with @lisp in "Build Phases".
From: |
guix-commits |
Subject: |
02/11: doc: Replace @example with @lisp in "Build Phases". |
Date: |
Tue, 20 Oct 2020 10:32:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b8085fccf2289fb3c64f21d6c5f811afe00fcedf
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 20 09:32:45 2020 +0200
doc: Replace @example with @lisp in "Build Phases".
* doc/guix.texi (Build Phases): Use @lisp for second example.
---
doc/guix.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 7eba12a..cffd806 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7831,7 +7831,7 @@ Here is an example of a package definition that removes
the
phase before the @code{build} phase, called
@code{set-prefix-in-makefile}:
-@example
+@lisp
(define-public example
(package
(name "example")
@@ -7850,7 +7850,7 @@ phase before the @code{build} phase, called
(string-append "PREFIX = "
out "\n")))
#true))))))))
-@end example
+@end lisp
The new phase that is inserted is written as an anonymous procedure,
introduced with @code{lambda*}; it honors the @code{outputs} parameter
- branch master updated (6ea61b4 -> 5f92f51), guix-commits, 2020/10/20
- 02/11: doc: Replace @example with @lisp in "Build Phases".,
guix-commits <=
- 01/11: download: Update docstring., guix-commits, 2020/10/20
- 04/11: gnu: guile2.0-git: Remove now unnecessary libgit2 special case., guix-commits, 2020/10/20
- 05/11: packages: Better preserve object identity when rewriting., guix-commits, 2020/10/20
- 07/11: graph: Fix typo in docstring., guix-commits, 2020/10/20
- 03/11: graph: Adjust test for recent OCaml changes., guix-commits, 2020/10/20
- 08/11: tests: Do not fetch and print the random seed from the top level., guix-commits, 2020/10/20
- 09/11: guix build: Add '--with-debug-info'., guix-commits, 2020/10/20
- 11/11: news: Add entry for '--with-debug-info'., guix-commits, 2020/10/20
- 06/11: gnu: poppler: Always use the same 'cairo-sans-poppler' variant., guix-commits, 2020/10/20
- 10/11: guix build: Move package transformation options behind '--help-transform'., guix-commits, 2020/10/20