Thanks, appreciate it :)

On Saturday, January 26, 2013 at 12:10:09 AM UTC+8, Matt Kruse wrote:
>
> Like many, I sometimes like to print out documentation on paper to bring 
> with me to read when I have down time.
> The current Angular docs online don't print well, but I found that with 
> some print styles (injected using Stylish) it prints just fine.
>
> I've printed all the pages to PDF and put them up here: 
> http://mattkruse.com/angular/
> The full, combined Developer Guide (2mb) is here: 
> http://mattkruse.com/angular/DeveloperGuide.pdf
>
> This is the css that I used to clean up the print styles:
>
> @media print {
>    .span3, .footer, #disqus, .header, .clear-navbar { display:none 
> !important; }
>    .container, .span9 { width:auto !important; }
>    .tab-pane { display:block !important; }
>    .tab-pane[title="index.html"]:before { content:"index.html :"; }
>    .tab-pane[title="script.js"]:before { content:"script.js :"; }
>    .tab-pane[title="style.css"]:before { content:"style.css :"; }
>    .tab-pane[title="End to end test"]:before { content:"End to end test 
> :"; }
> }
>
> The docs are current as of 2013-01-25. I may update them again in the 
> future, but I won't be doing it often.
>
> I hope the Angular team doesn't mind this duplication of the docs. They 
> will obviously go stale, but I hope that having a printable version is 
> helpful to some people.
>
> It would be great if the docs team could include the above CSS in your 
> style sheet, so in the future people will find the printable version to be 
> formatted nicely.
>
> Matt Kruse
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to