diff options
author | Julien Lepiller <julien@lepiller.eu> | 2019-10-23 22:01:19 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2019-10-23 22:01:58 +0200 |
commit | 6fc58c6c959f0b9d6144d92c5ed9b5cf1104f07a (patch) | |
tree | cb9ab32358cd9e50a4b230aa0772c527157e9831 | |
parent | ce5ade10d0b1c839ef8c4a3cd093f79c5f86ff9d (diff) | |
download | guix-6fc58c6c959f0b9d6144d92c5ed9b5cf1104f07a.tar.gz |
doc: More responsive online manual.
* doc/build.scm (%makeinfo-html-options): Add viewport to all generated html pages for better mobile device support.
-rw-r--r-- | doc/build.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/build.scm b/doc/build.scm index 7ba9f57bc9..6326736451 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -162,7 +162,9 @@ as well as images, OS examples, and translations." (define %makeinfo-html-options ;; Options passed to 'makeinfo --html'. - '("--css-ref=https://www.gnu.org/software/gnulib/manual.css")) + '("--css-ref=https://www.gnu.org/software/gnulib/manual.css" + "-c" "EXTRA_HEAD=<meta name=\"viewport\" \ +content=\"width=device-width, initial-scale=1\" />")) (define* (html-manual source #:key (languages %languages) (version "0.0") |