Skip to content

Commit 61b4ea0

Browse files
committed
[DOC] Manage rdoc options only in .rdoc_options file
Make `rdoc .` and `rake rdoc` consistent.
1 parent 475ecbf commit 61b4ea0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.rdoc_options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
page_dir: doc
33
main_page: README.md
44
title: Documentation for OptionParser
5+
op_dir: rdoc

optparse.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
2424

2525
spec.files = Dir["{doc,lib,misc}/**/{*,.document}"] +
2626
%w[README.md ChangeLog COPYING .document .rdoc_options]
27-
spec.rdoc_options = ["--main=README.md", "--op=rdoc", "--page-dir=doc"]
2827
spec.bindir = "exe"
2928
spec.executables = []
3029
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)