Permalink
Browse files

let SDoc add a link to the source code in GitHub for each method

  • Loading branch information...
1 parent 92619e4 commit 5aa86f793f4df75f8a5780626269abc3511c61a0 @fxn fxn committed Aug 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
@@ -93,6 +93,7 @@ RDoc::Task.new do |rdoc|
rdoc.options << '-f' << 'sdoc'
rdoc.options << '-T' << 'rails'
rdoc.options << '-c' << 'utf-8'
+ rdoc.options << '-g' # SDoc flag, link methods to GitHub
rdoc.options << '-m' << RDOC_MAIN
rdoc.rdoc_files.include('railties/CHANGELOG')

1 comment on commit 5aa86f7

Contributor

nhocki commented on 5aa86f7 Aug 30, 2011

Best addition ever!

Please sign in to comment.