1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

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