mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RDoc 2.1.0 r112
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c62db0676b
commit
cd9e9c6deb
19 changed files with 460 additions and 285 deletions
|
@ -489,7 +489,7 @@ module RDoc::Generator
|
|||
|
||||
@html_file = html_file
|
||||
@html_class = self
|
||||
@is_module = context.is_module?
|
||||
@is_module = context.module?
|
||||
@values = {}
|
||||
|
||||
context.viewer = self
|
||||
|
@ -619,16 +619,16 @@ module RDoc::Generator
|
|||
@values["title"] = "#{@values['classmod']}: #{h_name}"
|
||||
|
||||
c = @context
|
||||
c = c.parent while c and !c.diagram
|
||||
if c && c.diagram
|
||||
c = c.parent while c and not c.diagram
|
||||
|
||||
if c and c.diagram then
|
||||
@values["diagram"] = diagram_reference(c.diagram)
|
||||
end
|
||||
|
||||
@values["full_name"] = h_name
|
||||
|
||||
parent_class = @context.superclass
|
||||
|
||||
if parent_class
|
||||
if not @context.module? and @context.superclass then
|
||||
parent_class = @context.superclass
|
||||
@values["parent"] = CGI.escapeHTML(parent_class)
|
||||
|
||||
if parent_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue