commit b39ccc606171a1ac7f7cbf83d29ee773b3b30997
parent fd9c2e045f7cc953bebab2e2e65da9cd73b04f17
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Wed, 19 Oct 2016 11:24:11 -0400
add magic for mobile viewing of doc
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/doc/Makefile b/doc/Makefile
@@ -13,6 +13,7 @@ clean:
html/%.html: %.txt
mkdir html 2> /dev/null || true
( echo '<!doctype html>'; \
+ echo '<meta name=viewport content="width=device-width, initial-scale=1">'; \
echo '<link rel="stylesheet" href="http://c9x.me/css/simple.css" type="text/css" />'; \
echo '<link rel="stylesheet" href="txt.css" type="text/css" />'; \
sed -ne '2{s,.*,<title>&</title>,;p;q}' $<; \