J
Jamis Buck
Sorry for the deluge of RDoc messages lately, but it's what I'm working
with right now.
The kilmer template does not work if you use "call-seq" comments in C
extensions (which I am). This would not be as much of an issue if the
kilmer template weren't the default used by the RubyGems stuff.
Here's a patch:
--- /usr/lib/ruby/1.8/rdoc/generators/template/html/kilmer.rb 2004-09-09
10:54:58.676769824 -0600
+++ kilmer-patched.rb 2004-09-09 10:54:43.844024744 -0600
@@ -261,7 +261,12 @@
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
<tr><td class="methodtitle">
<a name="%aref%">
+IF:callseq
+<b>%callseq%</b>
+ENDIF:callseq
+IFNOT:callseq
<b>%name%</b>%params%
+ENDIF:callseq
IF:codeurl
<a href="%codeurl%" target="source" class="srclink">src</a>
ENDIF:codeurl
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."
with right now.
The kilmer template does not work if you use "call-seq" comments in C
extensions (which I am). This would not be as much of an issue if the
kilmer template weren't the default used by the RubyGems stuff.
Here's a patch:
--- /usr/lib/ruby/1.8/rdoc/generators/template/html/kilmer.rb 2004-09-09
10:54:58.676769824 -0600
+++ kilmer-patched.rb 2004-09-09 10:54:43.844024744 -0600
@@ -261,7 +261,12 @@
<table width="100%" cellspacing = 0 cellpadding=5 border=0>
<tr><td class="methodtitle">
<a name="%aref%">
+IF:callseq
+<b>%callseq%</b>
+ENDIF:callseq
+IFNOT:callseq
<b>%name%</b>%params%
+ENDIF:callseq
IF:codeurl
<a href="%codeurl%" target="source" class="srclink">src</a>
ENDIF:codeurl
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."