1 \input texinfo @c -*-texinfo-*-
3 @setfilename <%= @v['filename'] %>
4 @settitle <%= @v['title'] %>
7 @contents @c TODO: whitespace is a mess... =\
12 @top <%= @v['title'] %>
15 <% if @f = @v['files'].detect { |f| f.name =~ /Readme/i } %>
16 <%= @f.values['description'] %><% end %>
19 <% @v['classes'].each do |klass| %>
20 * <%= klass.name.gsub(/::/, '-') %>::<% end %>
24 <% (@v['classes'] || []).each_with_index do |klass, i| %>
25 <%= TexinfoTemplate.new(@v.merge('class' => klass.values),
26 'class.texinfo.erb').render %><% end %>