typo in jamis.rb?

J

Joel VanderWerf

RDoc sections were not working nicely for me, and I had to fix something
in jamis.rb. Was this just some weird local corruption, or do others
have this typo?

--- /usr/local/lib/ruby/1.8/rdoc/generators/template/html/jamis.rb.bck
2005-09-14 23:38:03.174836864 -0700
+++ /usr/local/lib/ruby/1.8/rdoc/generators/template/html/jamis.rb
2005-09-14 23:38:03.174836864 -0700
@@ -355,7 +355,7 @@

START:sections
IF:sectitle
-<div class="sectiontitle"><a nem="%secsequence%">%sectitle%</a></div>
+<div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></div>
IF:seccomment
<div class="description">
%seccomment%
 
T

Trans

<div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></div>

Yep there it is, I have it too.

Also in the same file, has this bit anyone else:

<frameset rows="80%,20%">
<frame src="%initial_page%" name="docwin">
<frame src="blank.html" name="source">
</frameset>

What is blank.html and why is there a fourth frame for it? I always get
a browser error on that one.

T.
 
J

Jamis Buck

RDoc sections were not working nicely for me, and I had to fix
something
in jamis.rb. Was this just some weird local corruption, or do others
have this typo?

--- /usr/local/lib/ruby/1.8/rdoc/generators/template/html/jamis.rb.bck
2005-09-14 23:38:03.174836864 -0700
+++ /usr/local/lib/ruby/1.8/rdoc/generators/template/html/jamis.rb
2005-09-14 23:38:03.174836864 -0700
@@ -355,7 +355,7 @@

START:sections
IF:sectitle
-<div class="sectiontitle"><a nem="%secsequence%">%sectitle%</a></div>
+<div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></
div>
IF:seccomment
<div class="description">
%seccomment%

--

Thanks, Joel. I've corrected this in my copy now, too.

- Jamis
 
J

Jamis Buck

Yep there it is, I have it too.

Also in the same file, has this bit anyone else:

<frameset rows="80%,20%">
<frame src="%initial_page%" name="docwin">
<frame src="blank.html" name="source">
</frameset>

What is blank.html and why is there a fourth frame for it? I always
get
a browser error on that one.

T.

The blank.html is only used when you are _not_ doing --inline-source.
Because I always use --inline-source, I've never bothered to make the
other way work smoothly. My understanding is that the blank.html
frame is used for displaying the source code of a method.

If anyone makes jamis.rb work nicely without --inline-source, a patch
would be welcome.

- Jamis
 

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
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top