Sha256: 766ecad117ee41cc90100603d1e6b13f1cf3e8b4b9a650760bb9fdff13a84fbd
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 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" media="screen" /> <link rel="stylesheet" type="text/css" href="print.css" media="print" /> <link rel="alternate" type="application/rss+xml" href="<%= RSS_URL %>" title="<%= RSS_INFO %>" /> <title><%= page_title %></title> </head> <body> <% if insert_toc %> <h1 style="margin-top: 0"><%= page_title %></h1> <%= %{p=. !images/tango/home.png(Return to main page)!:readme.html}.redcloth %> <div id="menu"> <%= links = @indexes.values.flatten.map do |i| %{<a href="##{i.name.downcase}">#{i.name}</a>} end links.unshift %{<a href="#index">Contents</a>} links.join ' · ' %> </div> <div id="index"> <h1>Contents</h1> <%= toc %> <% @indexes.each_pair do |cat, lists| %> <h1><%= cat %></h1> <% lists.each do |list| %> <h2 id="<%= list.name.downcase %>"><%= list.name %></h2> <%= list.items.inject('') do |memo, block| memo << "# #{(block.title || block.anchor).inspect}:##{block.anchor}\n" end.redcloth %> <% end %> <% end %> </div> <% end %> <%= content %> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-16.0.0 | doc/common.tpl |
ruby-vpi-16.0.1 | doc/common.tpl |