summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-10-23 22:01:19 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-10-23 22:01:58 +0200
commit6fc58c6c959f0b9d6144d92c5ed9b5cf1104f07a (patch)
treecb9ab32358cd9e50a4b230aa0772c527157e9831
parentce5ade10d0b1c839ef8c4a3cd093f79c5f86ff9d (diff)
downloadguix-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.scm4
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")