Sha256: 5d3e4fba9a6e79d573ce8b001e697f028057f971446b0b2c8d7be49c1dafe613

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

<%# coding: UTF-8 -%>
## Table of Contents
<% @table.sort.each do |pathname, documents| -%>
* [<%= pathname.basename %>](<%= pathname.basename %>)
<% documents.group_by(&:title).each do |title, documents| -%>
<% documents.each_with_index do |document, index| -%>
<% suffix = index == 0 ? "" : "-#{index}" -%>
 * [<%= title %>](<%= "#{pathname.basename}##{document.identifier}#{suffix}" %>)
<% end -%>
<% end -%>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
autodoc-0.3.2 lib/autodoc/templates/toc.md.erb
autodoc-0.3.1 lib/autodoc/templates/toc.md.erb
autodoc-0.3.0 lib/autodoc/templates/toc.md.erb
autodoc-0.2.8 lib/autodoc/templates/toc.md.erb
autodoc-0.2.7 lib/autodoc/templates/toc.md.erb