summaryrefslogtreecommitdiff
path: root/lib/rdoc
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
commita35058f9f984d0563439ddba0a7aa001f7c51a08 (patch)
tree40d42b7699488922a4abf44bf26cb03be32fa641 /lib/rdoc
parentafd7aea8577988d77cd7faed3524a92f29640e2b (diff)
Update kilmer template to use sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-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 0d47587f67..9fbef3573a 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>
}