RDoc doesn't make a link for inner module inclusion.

From: Tanaka Akira <akr@...17n.org>
Date: 2004-05-09 01:03:09 UTC
List: ruby-core #2860
I found that RDoc doesn't make a link for inner module inclusion as
follows.

% cat x.rb 
module X
  module MMM
  end
  class C
    include MMM
  end
end

% rdoc -q x.rb 
% w3m -dump doc/classes/X/C.html
X::C ^(Class)

In:      x.rb  
Parent:  Object

Included Modules

MMM

[Validate]

% grep MMM doc/classes/X/C.html
                    <span class="include-name">MMM</span>
% grep -i '<a' doc/classes/X/C.html
                <a href="../../files/x_rb.html">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>

MMM should be a link to doc/classes/X/MMM.html.
-- 
Tanaka Akira

In This Thread

Prev Next