Open BurdetteLamar opened 3 months ago
I'm looking at file selection for the rdoc command.
rdoc
I see in the code that certain files and directories are excluded by default:
~
.orig
.rej
.bak
.gemspec
.
test
spec
When I run rdoc (no arguments or options) in ruby/rdoc/, certain other files (and possibly directories) are excluded:
ruby/rdoc/
console
bin/
ri
exe/
ri.1
man/
epock.rake
rakelib/
Questions:
I don't know the rules off the top of my head, but you can find code around what's removed and included at:
https://github.com/ruby/rdoc/blob/95cc15b99e44b1a22ebbf0d9dcad432e4a690b3f/lib/rdoc/rdoc.rb#L275-L315
https://github.com/ruby/rdoc/blob/95cc15b99e44b1a22ebbf0d9dcad432e4a690b3f/lib/rdoc/rdoc.rb#L428-L434
Thanks, @colby-swandale; will look into this.
I'm looking at file selection for the
rdoc
command.I see in the code that certain files and directories are excluded by default:
~
,.orig
,.rej
,.bak
,.gemspec
..
.test
orspec
.When I run
rdoc
(no arguments or options) inruby/rdoc/
, certain other files (and possibly directories) are excluded:console
inbin/
.rdoc
andri
inexe/
.ri.1
inman/
.epock.rake
inrakelib/
.Questions: