Bug #7673

[rdoc] duplicated entries in Pages fileindex-section

Added by Nobuyoshi Nakada over 1 year ago. Updated over 1 year ago.

[ruby-core:51310]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:lib
Target version:-
ruby -v:r38737 Backport:

Description

=begin
As the result of ((%rdoc -o readmes README*%)), ((|Pages|)) (({fileindex-section})) in (({readmes/index.html})) has duplicated entries.

<li class="file"><a href="./README.html">README</a>
<li class="file"><a href="./README_EXT.html">README</a>
<li class="file"><a href="./README_EXT_ja.html">README.EXT</a>
<li class="file"><a href="./README_ja.html">README</a>

Is this intended?

I'd rather expect they show their original names, e.g., (({README.EXT})), (({README.EXT.ja})), and (({README.ja})).
=end

Associated revisions

Revision 38814
Added by Eric Hodel over 1 year ago

  • lib/rdoc/top_level.rb: Fixed extension trimming for page names in RDoc HTML output. [ruby-trunk - Bug #7673]
  • test/rdoc/testrdoctop_level.rb: Test for above.

History

#1 Updated by Nobuyoshi Nakada over 1 year ago

  • Description updated (diff)

#2 Updated by Eric Hodel over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38814.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rdoc/top_level.rb: Fixed extension trimming for page names in RDoc HTML output. [ruby-trunk - Bug #7673]
  • test/rdoc/testrdoctop_level.rb: Test for above.

Also available in: Atom PDF