aboutsummaryrefslogtreecommitdiffstats
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
commit154c29be3aa52e5bb014491918ca3fcd3a6c6c73 (patch)
tree5d43909efdc59424b65eca93456e17a45d064028
parent9d84c894643aec9df11417edd4ecc9e21219dd7b (diff)
downloadruby-154c29be3aa52e5bb014491918ca3fcd3a6c6c73.tar.gz
Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/rdoc/generators/template/html/one_page_html.rb8
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 45dc1b5261..84bb1e8c4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 25 02:00:18 2004 Dave Thomas <dave@pragprog.com>
+
+ * lib/rdoc/generators/template/html/one_page_html.rb (Page):
+ Fix to work with C modules.
+
Wed Mar 24 20:49:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
* lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
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%