From a27e47f9d1e22dc32bb250cfeef88cfacb930e23 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 19 Jan 2022 22:06:35 +0100 Subject: doc: Normalize language codes in menu URLs. * doc/build.scm (stylized-html)[build](base-language-url): Add calls to 'normalize'. --- doc/build.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build.scm b/doc/build.scm index c2d2d3939f..47cff15985 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -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)) -- cgit 1.4.1