mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/optparse] Add rdoc options
Specify the main page and the page directory. Also in Rakefile, extract and use the same options from the gemspec file. https://github.com/ruby/optparse/commit/d182cd60b5
This commit is contained in:
parent
39bebd762d
commit
7d94df63c4
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.metadata["source_code_uri"] = spec.homepage
|
spec.metadata["source_code_uri"] = spec.homepage
|
||||||
|
|
||||||
spec.files = Dir["{doc,lib,misc}/**/*"] + %w[README.md ChangeLog COPYING]
|
spec.files = Dir["{doc,lib,misc}/**/*"] + %w[README.md ChangeLog COPYING]
|
||||||
|
spec.rdoc_options = ["--main=README.md", "--op=rdoc", "--page-dir=doc"]
|
||||||
spec.bindir = "exe"
|
spec.bindir = "exe"
|
||||||
spec.executables = []
|
spec.executables = []
|
||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
|
|
Loading…
Reference in a new issue