guix-commits
[Top][All Lists]
Advanced

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

01/07: doc: Cookbook links to /manual/devel, not /manual.


From: guix-commits
Subject: 01/07: doc: Cookbook links to /manual/devel, not /manual.
Date: Wed, 21 Oct 2020 13:20:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8fe7c89f0c618075d8a31d997bd3eb86e6999f9d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 20 23:19:48 2020 +0200

    doc: Cookbook links to /manual/devel, not /manual.
    
    Since the Cookbook is built from the 'master' branch, it should point to
    the manual from that same branch.
    
    * doc/build.scm (guix-mono-node-indexes, guix-split-node-indexes): Link
    to /manual/devel when %MANUAL is not "guix".
---
 doc/build.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/build.scm b/doc/build.scm
index 7d17a16..d77fc0a 100644
--- a/doc/build.scm
+++ b/doc/build.scm
@@ -1198,7 +1198,8 @@ by 'html-identifier-indexes'."
                              #:manual-name "guix"
                              #:base-url (if (string=? %manual "guix")
                                             (const "")
-                                            (cut string-append "/manual/" <>))
+                                            (cut string-append
+                                              "/manual/devel/" <>))
                              #:languages %languages))
 
   (define guix-split-node-indexes
@@ -1207,8 +1208,9 @@ by 'html-identifier-indexes'."
                              #:manual-name "guix"
                              #:base-url (if (string=? %manual "guix")
                                             (const "")
-                                            (cut string-append "/manual/" <>
-                                                 "/html_node"))
+                                            (cut string-append
+                                              "/manual/devel/" <>
+                                              "/html_node"))
                              #:languages %languages))
 
   (define mono-node-indexes



reply via email to

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