Sha256: 4322f11ff01e0f423896beea2110956fdca0d7725d8d985bf0c821e5dca1f866

Contents?: true

Size: 930 Bytes

Versions: 35

Compression:

Stored size: 930 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
      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

35 entries across 35 versions & 1 rubygems

Version Path
amalgalite-1.1.1-x86-mingw32 tasks/documentation.rake
amalgalite-1.1.1-x86-mswin32 tasks/documentation.rake
amalgalite-1.1.1 tasks/documentation.rake
amalgalite-1.0.0 tasks/documentation.rake
amalgalite-1.0.0-x86-mswin32 tasks/documentation.rake
amalgalite-1.0.0-x86-mingw32 tasks/documentation.rake
amalgalite-0.15.0-x86-mingw32 tasks/documentation.rake
amalgalite-0.15.0-x86-mswin32 tasks/documentation.rake
amalgalite-0.15.0 tasks/documentation.rake
amalgalite-0.12.0-x86-mingw32 tasks/documentation.rake
amalgalite-0.12.0 tasks/documentation.rake
amalgalite-0.12.0-x86-mswin32 tasks/documentation.rake
amalgalite-0.11.0-x86-mswin32 tasks/documentation.rake
amalgalite-0.11.0-x86-mingw32 tasks/documentation.rake
amalgalite-0.10.2-x86-mswin32 tasks/documentation.rake
amalgalite-0.10.2-x86-mingw32 tasks/documentation.rake
amalgalite-0.10.1-x86-mswin32 tasks/documentation.rake
amalgalite-0.10.1-x86-mingw32 tasks/documentation.rake
amalgalite-0.10.0-x86-mswin32-60 tasks/documentation.rake
amalgalite-0.11.0 tasks/documentation.rake