summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-04 16:51:59 +0900
committergit <svn-admin@ruby-lang.org>2022-06-04 16:53:12 +0900
commit2e6aee6ef235be404804aeb9a5e6cb8dbb79c29a (patch)
treee5ee1efc68ad73f029c320df501f83c2955bc9d5 /lib/rdoc
parent9a7be959b1bf9a43e3436246a29db3a4d0f3f352 (diff)
downloadruby-2e6aee6ef235be404804aeb9a5e6cb8dbb79c29a.tar.gz
[ruby/rdoc] Make all documents at the top level `extra_rdoc_files` [ci skip]
https://github.com/ruby/rdoc/commit/6b1a011243
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/rdoc.gemspec13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
index 525a15fcde..547a67b04b 100644
--- a/lib/rdoc/rdoc.gemspec
+++ b/lib/rdoc/rdoc.gemspec
@@ -229,18 +229,7 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
s.files << "lib/rdoc/rd/block_parser.rb" << "lib/rdoc/rd/inline_parser.rb" << "lib/rdoc/markdown.rb" << "lib/rdoc/markdown/literals.rb"
s.rdoc_options = ["--main", "README.rdoc"]
- s.extra_rdoc_files += %w[
- CVE-2013-0256.rdoc
- CONTRIBUTING.rdoc
- ExampleMarkdown.md
- ExampleRDoc.rdoc
- History.rdoc
- LEGAL.rdoc
- LICENSE.rdoc
- README.rdoc
- RI.rdoc
- TODO.rdoc
- ]
+ s.extra_rdoc_files += s.files.grep(%r[\A[^\/]+\.(?:rdoc|md)\z])
s.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")