Skip to content

Commit

Permalink
Remove extra whitespace in HTML header after #205
Browse files Browse the repository at this point in the history
Update history for #205
  • Loading branch information
drbrain committed Jun 28, 2013
1 parent 8bf33d8 commit b9d85b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion History.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

* Minor enhancements
* Added RDoc::Options#output_decoration which controls header labels for
* HTML output. Pull Request #199 by Zachary Scott.
HTML output. Pull Request #199 by Zachary Scott.
* Added --template-stylesheets options to RDoc to allow specification of
alternate stylesheets. Pull request #205 by Zachary Scott.
* Improved performance of the Markdown and RD parsers. Pull request #217 by
Ryan Davis.

Expand Down
10 changes: 5 additions & 5 deletions lib/rdoc/generator/template/darkfish/_head.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<title><%= h @title %></title>

<link type="text/css" media="screen" href="<%= asset_rel_prefix %>/rdoc.css" rel="stylesheet">
<% if @options.template_stylesheets.flatten.any? %>
<% @options.template_stylesheets.flatten.each do |stylesheet| %>
<link type="text/css" href="<%= asset_rel_prefix %>/<%= File.basename stylesheet %>" rel="stylesheet">
<% end %>
<% end %>
<% if @options.template_stylesheets.flatten.any? then -%>
<% @options.template_stylesheets.flatten.each do |stylesheet| -%>
<link type="text/css" href="<%= asset_rel_prefix %>/<%= File.basename stylesheet %>" rel="stylesheet">
<% end -%>
<% end -%>

<script type="text/javascript">
var rdoc_rel_prefix = "<%= rel_prefix %>/";
Expand Down

0 comments on commit b9d85b2

Please sign in to comment.