Permalink
Browse files

Fix main page and included rdoc files in output

  • Loading branch information...
1 parent 0dce47d commit 06cc36d493ef35b5b46049dd5f269c8ff29ffcb1 @drbrain drbrain committed Sep 30, 2011
Showing with 9 additions and 2 deletions.
  1. +7 −0 Rakefile
  2. +2 −2 lib/rdoc.rb
View
@@ -38,6 +38,13 @@ Depending on your version of ruby, you may need to install ruby rdoc/ri data:
self.readme_file = 'README.rdoc'
self.history_file = 'History.rdoc'
self.testlib = :minitest
+ self.extra_rdoc_files += %w[
+ History.rdoc
+ LICENSE.rdoc
+ README.rdoc
+ RI.rdoc
+ TODO.rdoc
+ ]
self.clean_globs += PARSER_FILES
View
@@ -1,6 +1,6 @@
$DEBUG_RDOC = nil
-# :main: README.txt
+# :main: README.rdoc
##
# RDoc is a Ruby documentation system which contains RDoc::RDoc for generating
@@ -61,7 +61,7 @@
# index page contain the documentation for the primary file. In our
# case, we could type
#
-# % rdoc --main README.txt
+# % rdoc --main README.rdoc
#
# You'll find information on the various formatting tricks you can use
# in comment blocks in the documentation this generates.

0 comments on commit 06cc36d

Please sign in to comment.