We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed28355 commit d182cd6Copy full SHA for d182cd6
Rakefile
@@ -16,5 +16,5 @@ end
16
task :default => :test
17
18
task :rdoc do
19
- sh("rdoc", "--op", "rdoc")
+ sh("rdoc", *Bundler::GemHelper.instance.gemspec.rdoc_options, ".")
20
end
optparse.gemspec
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
spec.metadata["source_code_uri"] = spec.homepage
24
25
spec.files = Dir["{doc,lib,misc}/**/*"] + %w[README.md ChangeLog COPYING]
26
+ spec.rdoc_options = ["--main=README.md", "--op=rdoc", "--page-dir=doc"]
27
spec.bindir = "exe"
28
spec.executables = []
29
spec.require_paths = ["lib"]
0 commit comments