1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-09 23:50:47 +02:00

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
This commit is contained in:
Ludovic Courtès 2025-07-05 23:48:46 +02:00
parent 7af0d64677
commit 4e1f3d79f0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -184,11 +184,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'.