diff options
author | Ludovic Courtès <ludo@gnu.org> | 2025-07-05 23:48:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-07-09 11:53:23 +0200 |
commit | 4e1f3d79f03654073aecc9efffbc6de31aefa1cc (patch) | |
tree | 65dbd0843d7993841d09b5fe267a9845b65b5249 | |
parent | 7af0d64677ebca8ac620bbcea15ec998544a75ab (diff) |
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
-rw-r--r-- | doc/build.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/build.scm b/doc/build.scm index 56d16b6ee6..a745b4c25b 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -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'. |