documentation tweaks

This commit is contained in:
Jim Menard 2008-12-04 16:44:21 -05:00
parent bdc4f570d6
commit edcac65c44
2 changed files with 4 additions and 1 deletions

2
README
View File

@ -89,6 +89,8 @@ This driver uses the MAC address finder found at
http://codeforpeople.com/lib/ruby/macaddr/macaddr-1.0.0/lib/macaddr.rb, which
uses Ruby's license (see http://codeforpeople.com/lib/license.txt).
--
# Local Variables:
# mode:rdoc
# End:
++

View File

@ -8,7 +8,8 @@ Rake::TestTask.new do |t|
t.test_files = FileList['tests/test*.rb']
end
desc "Generate documentation"
task :rdoc do
FileUtils.rm_rf('doc')
system "rdoc --main README README `find lib -name '*.rb'`"
system "rdoc --main README --inline-source --quiet README `find lib -name '*.rb'`"
end