mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
files. * doc/re.rdoc: renamed from re.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5a45c08ef2
commit
c922e50804
3 changed files with 3 additions and 2 deletions
|
@ -15,4 +15,5 @@ lib
|
|||
|
||||
ext
|
||||
|
||||
doc/re.rb
|
||||
# rdoc files
|
||||
doc/*.rdoc
|
||||
|
|
|
@ -1458,7 +1458,7 @@ end
|
|||
|
||||
class RDoc::Parser::Ruby < RDoc::Parser
|
||||
|
||||
parse_files_matching(/\.rbw?$/)
|
||||
parse_files_matching(/\.(?:rbw?|rdoc)\z/)
|
||||
|
||||
include RDoc::RubyToken
|
||||
include RDoc::TokenStream
|
||||
|
|
Loading…
Reference in a new issue