Sha256: 8b69c1c69a4128ea0bcf587f42784517cc12223dace67d50e47127adcf287a8c
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
<% require 'doc_format' # set default page title if none was given unless page_title if h = @headings.first page_title = h.title end end %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <link rel="stylesheet" type="text/css" href="common.css" /> <link rel="alternate" type="application/rss+xml" href="<%= RSS_URL %>" title="<%= RSS_INFO %>" /> <title><%= page_title %></title> </head> <body> <% if table_of_contents %> <div id="navigation"> <%= %{"!images/home.png(project home)!":readme.html}.redcloth %> <h1>Contents</h1> <%= @headings.map do |h| %{#{'*' * h.depth} #{h.index} "#{h.title}":##{h.anchor}} end.join("\n").redcloth %> <% DocProxy::CATEGORIES.each_pair do |cat, types| %> <h1><%= cat.to_s.capitalize %>s</h1> <% types.each do |type| list = @blocks[type] %> <% unless list.empty? %> <h2><%= type.to_s.capitalize %>s</h2> <%= list.inject('') do |memo, block| memo << "# #{(block.title || block.anchor).inspect}:##{block.anchor}\n" end.redcloth %> <% end %> <% end %> <% end %> </div> <% end %> <%= content.to_html %> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-14.0.0 | doc/common.tpl |
ruby-vpi-15.0.0 | doc/common.tpl |