mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
doc: Normalize language codes in menu URLs.
* doc/build.scm (stylized-html)[build](base-language-url): Add calls to 'normalize'.
This commit is contained in:
parent
ccda88a070
commit
a27e47f9d1
1 changed files with 2 additions and 2 deletions
|
@ -671,8 +671,8 @@ (define* (base-language-url code manual
|
|||
#: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))
|
||||
|
|
Loading…
Reference in a new issue