Navigation Menu

Skip to content

Commit

Permalink
Add .rdoc extension so GitHub can apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik authored and rkh committed Jun 16, 2011
1 parent 6c75c0c commit 0868678
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -86,9 +86,9 @@ end


desc "Generate RDoc documentation" desc "Generate RDoc documentation"
task :rdoc => ["SPEC"] do 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} + --title 'Rack\ Documentation' --charset utf-8 -U -o doc} +
%w{README KNOWN-ISSUES SPEC} + %w{README.rdoc KNOWN-ISSUES SPEC} +
Dir["lib/**/*.rb"]) Dir["lib/**/*.rb"])
end end


Expand Down
4 changes: 2 additions & 2 deletions rack.gemspec
Expand Up @@ -15,11 +15,11 @@ Also see http://rack.rubyforge.org.
EOF EOF


s.files = Dir['{bin/*,contrib/*,example/*,lib/**/*,test/**/*}'] + 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.bindir = 'bin'
s.executables << 'rackup' s.executables << 'rackup'
s.require_path = 'lib' 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.test_files = Dir['test/spec_*.rb']


s.author = 'Christian Neukirchen' s.author = 'Christian Neukirchen'
Expand Down

0 comments on commit 0868678

Please sign in to comment.