me
/
guix
Archived
1
0
Fork 0

doc: Normalize language codes in menu URLs.

* doc/build.scm (stylized-html)[build](base-language-url): Add calls to
'normalize'.
Ludovic Courtès 2022-01-19 22:06:35 +01:00
parent ccda88a070
commit a27e47f9d1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -671,8 +671,8 @@ in SOURCE."
#:key split-node?)
;; Return the base URL of MANUAL for language CODE.
(if split-node?
(string-append "../../" code "/html_node")
(string-append "../" code "/" manual
(string-append "../../" (normalize code) "/html_node")
(string-append "../" (normalize code) "/" manual
(if (string=? code "en")
""
(string-append "." code))