instance method
Gem::Specification#extra_rdoc_files
extra_rdoc_files
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/specification.rb, line 599
def extra_rdoc_files
@extra_rdoc_files ||= []
end
Extra files to add to RDoc such as README or doc/examples.txt
When the user elects to generate the RDoc documentation for a gem (typically at install time), all the library files are sent to RDoc for processing. This option allows you to have some non-code files included for a more complete set of documentation.
Usage:
Example
spec.extra_rdoc_files = ['README', 'doc/user-guide.txt']
See also
#extra_rdoc_files=
#extensions_dir
#extensions=
#file_name
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0