summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/generators
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
commit45766ca46b53ff3522459a1949e4a59ae12ba051 (patch)
tree40d42b7699488922a4abf44bf26cb03be32fa641 /lib/rdoc/generators
parent14e499d6cb106bfd8c752c3c3f5ec20d4a67422b (diff)
downloadruby-45766ca46b53ff3522459a1949e4a59ae12ba051.tar.gz
ruby-45766ca46b53ff3522459a1949e4a59ae12ba051.tar.xz
ruby-45766ca46b53ff3522459a1949e4a59ae12ba051.zip
Update kilmer template to use sections
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generators')
-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>
}