Sha256: 75682ed23f8b854b52626f01ec01958201620ff37011c7f125474361ccd03233

Contents?: true

Size: 935 Bytes

Versions: 42

Compression:

Stored size: 935 Bytes

Contents

require 'tasks/config'

#-----------------------------------------------------------------------
# Documentation
#-----------------------------------------------------------------------

if rdoc_config = Configuration.for_if_exist?('rdoc') then

  namespace :doc do

    require 'rdoc'
    require 'rake/rdoctask'

    # generating documentation locally
    Rake::RDocTask.new do |rdoc|
      rdoc.rdoc_dir   = rdoc_config.output_dir
      rdoc.options    = rdoc_config.options
      rdoc.rdoc_files = rdoc_config.files.sort
      rdoc.title      = rdoc_config.title
      rdoc.main       = rdoc_config.main_page
    end 

    if rubyforge_config = Configuration.for_if_exist?('rubyforge') then
      desc "Deploy the RDoc documentation to #{rubyforge_config.rdoc_location}"
      task :deploy => :rerdoc do
        sh "rsync -zav --delete #{rdoc_config.output_dir}/ #{rubyforge_config.rdoc_location}"
      end 
    end 

  end 
end

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/launchy-0.3.7/tasks/documentation.rake
launchy-0.4.0 tasks/documentation.rake
gemrage-1.0.0 vendor/ruby/1.8/gems/launchy-0.3.7/tasks/documentation.rake
gemrage-0.4.1 vendor/ruby/1.8/gems/launchy-0.3.7/tasks/documentation.rake
gemrage-0.4.0 vendor/ruby/1.8/gems/launchy-0.3.7/tasks/documentation.rake
hitimes-1.1.1-java tasks/documentation.rake
hitimes-1.1.1-x86-mswin32 tasks/documentation.rake
hitimes-1.1.1-x86-mingw32 tasks/documentation.rake
hitimes-1.1.1 tasks/documentation.rake
hitimes-1.1.0-java tasks/documentation.rake
hitimes-1.1.0-x86-mswin32 tasks/documentation.rake
hitimes-1.1.0-x86-mingw32 tasks/documentation.rake
hitimes-1.1.0 tasks/documentation.rake
hitimes-1.0.5-x86-mswin32 tasks/documentation.rake
hitimes-1.0.5-x86-mingw32 tasks/documentation.rake
hitimes-1.0.5 tasks/documentation.rake
launchy-0.3.7 tasks/documentation.rake
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/launchy-0.3.5/tasks/documentation.rake
middleman-0.12.2 lib/middleman/vendor/gems/gems/launchy-0.3.5/tasks/documentation.rake
launchy-0.3.5 tasks/documentation.rake