forked from GitHub/gf-core
Most of the pages on the GF web site have an exemplary simple design, with just one column of text. This make them adapt exceptionally well to screens of different sizes. In particular, they should be easy to read even on smartphones. However, smartphone browsers like Mobile Safari and the default Android Browser assume that pages do *not* adapt well to small screens, so by default they emulate a big screen, forcing the user to zoom in to a part of the page to be able to read it. By adding the meta tag <meta name = "viewport" content = "width = device-width"> the big screen emulation can be turned off, allowing pages to be formatted to fit the actual screen size and text to be displayed at a readable size.
12 lines
604 B
Makefile
12 lines
604 B
Makefile
html:
|
|
php ~/markdown-convert.php https://raw.github.com/GrammaticalFramework/gf-eclipse-plugin/master/README.md index.html
|
|
|
|
local:
|
|
echo "<html>\n<head>\n" > index.html
|
|
echo "<title>GF Eclipse Plugin</title>\n" >> index.html
|
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.grammaticalframework.org/css/style.css\">\n" >> index.html
|
|
echo '<meta name = "viewport" content = "width = device-width">' >>index.html
|
|
echo "</head>\n<body>\n" >> index.html
|
|
php ~/markdown-convert.php ~/repositories/gf-eclipse-plugin/README.md index.html --append
|
|
echo "</body>\n</html>" >> index.html
|