mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/rdoc] Support full filename to make a link for a text file
41db49c485
This commit is contained in:
parent
3b159374a2
commit
b5db9b8a31
3 changed files with 10 additions and 2 deletions
|
@ -723,7 +723,7 @@ class RDoc::Store
|
|||
|
||||
def page name
|
||||
@text_files_hash.each_value.find do |file|
|
||||
file.page_name == name
|
||||
file.page_name == name or file.base_name == name
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue