mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

Also flattens `@options.template_stylesheets` when parsing the
command lines.
Fixes #205
Fixes #828 too
857002a763
20 lines
861 B
Text
20 lines
861 B
Text
<meta charset="<%= @options.charset %>">
|
|
|
|
<title><%= h @title %></title>
|
|
|
|
<script type="text/javascript">
|
|
var rdoc_rel_prefix = "<%= asset_rel_prefix %>/";
|
|
var index_rel_prefix = "<%= rel_prefix %>/";
|
|
</script>
|
|
|
|
<script src="<%= asset_rel_prefix %>/js/navigation.js" defer></script>
|
|
<script src="<%= asset_rel_prefix %>/js/search.js" defer></script>
|
|
<script src="<%= asset_rel_prefix %>/js/search_index.js" defer></script>
|
|
<script src="<%= asset_rel_prefix %>/js/searcher.js" defer></script>
|
|
<script src="<%= asset_rel_prefix %>/js/darkfish.js" defer></script>
|
|
|
|
<link href="<%= asset_rel_prefix %>/css/fonts.css" rel="stylesheet">
|
|
<link href="<%= asset_rel_prefix %>/css/rdoc.css" rel="stylesheet">
|
|
<%- @options.template_stylesheets.each do |stylesheet| -%>
|
|
<link href="<%= asset_rel_prefix %>/<%= File.basename stylesheet %>" rel="stylesheet">
|
|
<%- end -%>
|