summaryrefslogtreecommitdiff
path: root/lib/rdoc/generators/template
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-07 02:54:38 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-07 02:54:38 +0000
commite735472d1f22fca2e2103b6d3868c101c54a2e2d (patch)
tree0a0c6dba95a794321448a51af6c8676625e7af0b /lib/rdoc/generators/template
parent7cc4f065fa85d78ea64cde74d92af60919cabd5d (diff)
Support inline source in Kilmer template
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generators/template')
-rw-r--r--lib/rdoc/generators/template/html/kilmer.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/rdoc/generators/template/html/kilmer.rb b/lib/rdoc/generators/template/html/kilmer.rb
index 27fde1d29f..7326fb09ac 100644
--- a/lib/rdoc/generators/template/html/kilmer.rb
+++ b/lib/rdoc/generators/template/html/kilmer.rb
@@ -272,6 +272,19 @@ IF:m_desc
%m_desc%
</div>
ENDIF:m_desc
+IF:aka
+<div class="aka">
+This method is also aliased as
+START:aka
+<a href="%aref%">%name%</a>
+END:aka
+</div>
+ENDIF:aka
+IF:sourcecode
+<pre class="source">
+%sourcecode%
+</pre>
+ENDIF:sourcecode
END:methods
ENDIF:methods
END:method_list
@@ -369,10 +382,15 @@ INDEX = %{
<frame src="fr_class_index.html" name="Classes">
<frame src="fr_method_index.html" name="Methods">
</frameset>
+IF:inline_source
+ <frame src="%initial_page%" name="docwin">
+ENDIF:inline_source
+IFNOT:inline_source
<frameset rows="80%,20%">
<frame src="%initial_page%" name="docwin">
<frame src="blank.html" name="source">
</frameset>
+ENDIF:inline_source
<noframes>
<body bgcolor="white">
Click <a href="html/index.html">here</a> for a non-frames