guix_mirror_bot pushed a commit to branch version-1.4.0 in repository guix.
commit 1691a4458cf3f816c9f78c8eb69f1de2b3bb16ab Author: Ludovic Courtès <[email protected]> AuthorDate: Sat Jul 5 23:48:46 2025 +0200 doc: Really honor ‘GUIX_WEB_SITE_URL’. This is useful when testing changes locally, so that CSS links point to the right place. * doc/build.scm (%web-site-url): Default to /. (%manual-css-url): Honor ‘%web-site-url’. Change-Id: I8d885eba0fb8560dd7da7f21629c716a06c16b1f --- doc/build.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/build.scm b/doc/build.scm index 94d7156d93..2bc73f915e 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -293,11 +293,12 @@ as well as images, OS examples, and translations." (define %web-site-url ;; URL of the web site home page. (or (getenv "GUIX_WEB_SITE_URL") - "/software/guix/")) + "/")) (define %manual-css-url ;; URL of the main CSS file. - "/themes/initial/css/manual.css") + (in-vicinity %web-site-url + "themes/initial/css/manual.css")) (define %makeinfo-html-options ;; Options passed to 'makeinfo --html'.
