Permalink
Browse files

Add .rdoc extension so GitHub can apply formatting

  • Loading branch information...
1 parent 5851aac commit 2978cfd51f55e39b2c284b33d9b90434ac125e13 @sferik sferik committed May 25, 2011
Showing with 4 additions and 4 deletions.
  1. 0 README → README.rdoc
  2. +2 −2 Rakefile
  3. +2 −2 rack.gemspec
View
File renamed without changes.
View
@@ -86,9 +86,9 @@ end
desc "Generate RDoc documentation"
task :rdoc => ["SPEC"] do
- sh(*%w{rdoc --line-numbers --main README
+ sh(*%w{rdoc --line-numbers --main README.rdoc
--title 'Rack\ Documentation' --charset utf-8 -U -o doc} +
- %w{README KNOWN-ISSUES SPEC} +
+ %w{README.rdoc KNOWN-ISSUES SPEC} +
Dir["lib/**/*.rb"])
end
View
@@ -15,11 +15,11 @@ Also see http://rack.rubyforge.org.
EOF
s.files = Dir['{bin/*,contrib/*,example/*,lib/**/*,test/**/*}'] +
- %w(COPYING KNOWN-ISSUES rack.gemspec Rakefile README SPEC)
+ %w(COPYING KNOWN-ISSUES rack.gemspec Rakefile README.rdoc SPEC)
s.bindir = 'bin'
s.executables << 'rackup'
s.require_path = 'lib'
- s.extra_rdoc_files = ['README', 'KNOWN-ISSUES']
+ s.extra_rdoc_files = ['README.rdoc', 'KNOWN-ISSUES']
s.test_files = Dir['test/spec_*.rb']
s.author = 'Christian Neukirchen'

0 comments on commit 2978cfd

Please sign in to comment.