root/swish_website/lib/pod_toc/index.html

Revision 1624, 0.7 kB (checked in by whmoseley, 4 years ago)

Fix generation of the docs table of contents.
Add Storable cache for the docs/index.html page
Make bin/build smarter about what needs to be built

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 [% META
2     type    = 'html'
3     id      = 'documentation'
4     title   = 'Documentation Table of Contents'
5 %]
6
7
8 <!-- noindex -->
9
10 <h1>Swish-e [% "Development " IF page.file.match('devel') %]Documentation</h1>
11 Version [% swish.version %]
12
13 <h2>Table of Contents</h2>
14
15 <ul class="toc">
16 [% FOREACH pod = pod_files %]
17
18     [% SET item = toc_cache.$pod %]
19     [% NEXT UNLESS item %]
20
21     <li class="top-level">
22         <a href="[% item.page %]">[% item.title %]</a>
23
24         [% IF item.abstract %]
25             <blockquote>
26                 <p>
27                     [% item.abstract %]
28                 </p>
29             </blockquote>
30         [% END %]
31     </li>
32 [% END %]
33 </ul>
34 <!-- index -->
35
36
Note: See TracBrowser for help on using the browser.