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".
This commit is contained in:
Ludovic Courtès 2020-10-20 23:19:48 +02:00
parent 3722648f71
commit 8fe7c89f0c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1198,7 +1198,8 @@ (define guix-mono-node-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 @@ (define guix-split-node-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