lib/sniff/rake_tasks.rb in sniff-0.8.6 vs lib/sniff/rake_tasks.rb in sniff-0.8.7
- old
+ new
@@ -89,9 +89,27 @@
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
+ <style type="text/css">
+ td.docs h1 {
+ margin-top: 0;
+ }
+ @media print {
+ .code pre {
+ white-space: pre-wrap;
+ }
+ .code {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ }
+ .code .highlight {
+ margin-left: 15px;
+ margin-right: 15px;
+ }
+ }
+ </style>
</head>
HTML
File.open "docs/lib/#{gemname}/carbon_model.html", 'w' do |f|
f.puts source
end