RDoc: kilmer template

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."
 
D

Dave Thomas

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:

Thanks - applied and checked in


Cheers

Dave
 
R

Richard Kilmer

We got the patch...thanks.

But just to let you know...it is no longer the default on RubyGems. It
defaults to the default template. This will be so from 0.8.0 on.

-rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top