summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-29 02:16:33 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-29 02:16:33 +0000
commit250eac8056a44766cc07812608cf55bb091c8eba (patch)
tree1b1b91105de015803b17358d37fd16fdb47c5a06 /lib
parent3cb2875c397b0ed728276e56651e34ebf3009614 (diff)
downloadruby-250eac8056a44766cc07812608cf55bb091c8eba.tar.gz
ruby-250eac8056a44766cc07812608cf55bb091c8eba.tar.xz
ruby-250eac8056a44766cc07812608cf55bb091c8eba.zip
Update kilmer template to use sections
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/generators/template/html/kilmer.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/rdoc/generators/template/html/kilmer.rb b/lib/rdoc/generators/template/html/kilmer.rb
index 0d47587f6..9fbef3573 100644
--- a/lib/rdoc/generators/template/html/kilmer.rb
+++ b/lib/rdoc/generators/template/html/kilmer.rb
@@ -139,6 +139,18 @@ END:methods
</div>
ENDIF:methods
+
+START:sections
+ <div id="section">
+IF:sectitle
+ <h2 class="section-title"><a name="%secsequence%">%sectitle%</a></h2>
+IF:seccomment
+ <div class="section-comment">
+ %seccomment%
+ </div>
+ENDIF:seccomment
+ENDIF:sectitle
+
IF:attributes
<table cellpadding=5 width="100%">
<tr><td class="tablesubtitle">Attributes</td></tr>
@@ -168,6 +180,8 @@ ENDIF:classlist
!INCLUDE! <!-- method descriptions -->
+END:sections
+
</body>
</html>
}