summaryrefslogtreecommitdiff
path: root/lib/rdoc/generators
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-24 17:01:11 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-24 17:01:11 +0000
commit05473329e421c1b7beceea82ae047fb8168435c2 (patch)
tree1763c2ccb53d548863dddfe9031a95dce1919351 /lib/rdoc/generators
parenta37f3aaae13f66aa3abb33b96c10a3709c93eedf (diff)
Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generators')
-rw-r--r--lib/rdoc/generators/template/html/one_page_html.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/rdoc/generators/template/html/one_page_html.rb b/lib/rdoc/generators/template/html/one_page_html.rb
index ca69908c97..19441f4725 100644
--- a/lib/rdoc/generators/template/html/one_page_html.rb
+++ b/lib/rdoc/generators/template/html/one_page_html.rb
@@ -52,7 +52,13 @@ IF:method_list
START:method_list
IF:methods
START:methods
-<h4>%type% %category% method: <a name="%aref%">%name%%params%</a></h4>
+<h4>%type% %category% method:
+IF:callseq
+<a name="%aref%">%callseq%</a>
+ENDIF:callseq
+IFNOT:callseq
+<a name="%aref%">%name%%params%</a></h4>
+ENDIF:callseq
IF:m_desc
%m_desc%