Skip to content

Commit 06cc36d

Browse files
committed
Fix main page and included rdoc files in output
1 parent 0dce47d commit 06cc36d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ Depending on your version of ruby, you may need to install ruby rdoc/ri data:
3838
self.readme_file = 'README.rdoc'
3939
self.history_file = 'History.rdoc'
4040
self.testlib = :minitest
41+
self.extra_rdoc_files += %w[
42+
History.rdoc
43+
LICENSE.rdoc
44+
README.rdoc
45+
RI.rdoc
46+
TODO.rdoc
47+
]
4148

4249
self.clean_globs += PARSER_FILES
4350

lib/rdoc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$DEBUG_RDOC = nil
22

3-
# :main: README.txt
3+
# :main: README.rdoc
44

55
##
66
# RDoc is a Ruby documentation system which contains RDoc::RDoc for generating
@@ -61,7 +61,7 @@
6161
# index page contain the documentation for the primary file. In our
6262
# case, we could type
6363
#
64-
# % rdoc --main README.txt
64+
# % rdoc --main README.rdoc
6565
#
6666
# You'll find information on the various formatting tricks you can use
6767
# in comment blocks in the documentation this generates.

0 commit comments

Comments
 (0)