Skip to content

Commit 6097a81

Browse files
author
Bess Sadler
committed
Fixed the rake doc task by telling it to look for README.md instead of README. Added the doc directory to .gitignore.
1 parent 14dda83 commit 6097a81

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
pkg
2+
doc

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ task :load_fixtures => :create_database do
104104
end
105105

106106
Rake::RDocTask.new('doc') do |rd|
107-
rd.rdoc_files.include("lib/**/*.rb", "README")
108-
rd.main = 'README'
107+
rd.rdoc_files.include("lib/**/*.rb", "README.md")
108+
rd.main = 'README.md'
109109
rd.rdoc_dir = 'doc'
110110
end

0 commit comments

Comments
 (0)