Permalink
Browse files

Added credits linking to Github contribution page.

Larger fonts and fixed margins on PDF.
  • Loading branch information...
1 parent 17842a8 commit 8750a5e4648fd4264ce873f6b669a833dbdbc9c5 @assaf committed Jan 13, 2011
Showing with 19 additions and 10 deletions.
  1. +5 −2 Cakefile
  2. +3 −0 README.md
  3. +7 −7 doc/css/print.css
  4. +3 −1 doc/css/screen.css
  5. +1 −0 doc/layout/main.html
View
@@ -137,7 +137,7 @@ generatePDF = (callback)->
files = "index api selectors troubleshoot".split(" ").map((f)-> "html/#{f}.html")
options = "--disable-javascript --outline --print-media-type --title Zombie.js --header-html doc/layout/header.html"
toc = "--toc --toc-depth 2 --toc-no-dots --cover doc/layout/cover.html --allow doc/images --outline"
- margins = "--margin-left 20 --margin-right 20 --margin-top 20 --margin-bottom 20 --header-spacing 5"
+ margins = "--margin-left 30 --margin-right 30 --margin-top 30 --margin-bottom 30 --header-spacing 5"
exec "wkhtmltopdf #{options} #{margins} #{toc} #{files.join(" ")} html/zombie.pdf", callback
generateDocs = (callback)->
@@ -153,7 +153,10 @@ generateDocs = (callback)->
task "doc:pages", "Generate documentation for main pages", -> documentPages onerror
task "doc:source", "Generate documentation from source files", -> documentSource onerror
task "doc:man", "Generate man pages", -> generateMan onerror
-task "doc:pdf", "Generate PDF documentation", -> generatePDF onerror
+task "doc:pdf", "Generate PDF documentation", ->
+ documentPages (err)->
+ onerror err
+ generatePDF onerror
task "doc", "Generate all documentation", -> generateDocs onerror
View
@@ -241,6 +241,9 @@ outstanding [to-dos](todo).
Zombie.js is copyright of [Assaf Arkin](http://labnotes.org), released
under the MIT License
+Much thanks to all the [many
+contributors](https://github.com/assaf/zombie/contributors).
+
Zombie.js is written in
[CoffeeScript](http://jashkenas.github.com/coffee-script/) for
[Node.js](http://nodejs.org/)
View
@@ -1,15 +1,15 @@
body {
- font-family: Baskerville, Palatino, "Palatino Linotype", Georgia, serif;
- font-size: 12pt;
- margin: 2em 4em;
+ font-family: "Baskerville", "Palatino", "Palatino Linotype", serif;
+ font-size: 14pt;
+ margin: 0;
}
h1, h2, h3, h4, #header, .header {
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}
-h1 { font-size: 18pt; }
-h2 { font-size: 16pt; }
-h3 { font-size: 14pt; }
-h4 { font-size: 12pt; }
+h1 { font-size: 20pt; }
+h2 { font-size: 18pt; }
+h3 { font-size: 16pt; }
+h4 { font-size: 14pt; }
pre, code {
font-family: "Menlo", "Consolas", "New Courier", Courier, monospace;
font-size: 10pt;
View
@@ -59,5 +59,7 @@ pre, code {
}
#footer {
- margin: 2em 0;
+ border-top: 1px solid #ccc;
+ margin: 4em 0;
+ color: #444;
}
View
@@ -40,6 +40,7 @@
{{body}}
</div>
<div id="footer">
+ Zombie.js brought to you by <a href="https://github.com/assaf/zombie/contributors">very alive people</a>.
</div>
<script type="text/javascript">
var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-1828623-10']);_gaq.push(['_trackPageview']);

0 comments on commit 8750a5e

Please sign in to comment.