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
1 changed files with 5 additions and 3 deletions

View File

@ -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