mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/*: Added --root option for building documentation outside
the source directory. * test/rdoc/*: ditto * common.mk (rdoc): Added --root to rdoc rule git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7de9e2dfde
commit
6d1266a879
20 changed files with 169 additions and 35 deletions
|
@ -96,7 +96,7 @@ class RDoc::Markup::Document
|
|||
def file= location
|
||||
@file = case location
|
||||
when RDoc::TopLevel then
|
||||
location.absolute_name
|
||||
location.relative_name
|
||||
else
|
||||
location
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue