Sha256: 3a6cb29121ebce3e69aade1cd9e95c1c3a03d83e876536a41ef1f1a01b80b66f

Contents?: true

Size: 534 Bytes

Versions: 13

Compression:

Stored size: 534 Bytes

Contents

namespace :docs do
  desc "generate HTML docs for nokogiri.org"
  task :website do
    title = "#{HOE.name}-#{HOE.version} Documentation"

    options = []
    options << "--main=#{HOE.readme_file}"
    options << '--format=activerecord'
    options << '--threads=1'
    options << "--title=#{title.inspect}"

    options += HOE.spec.require_paths
    options += HOE.spec.extra_rdoc_files
    require 'rdoc/rdoc'
    ENV['RAILS_ROOT'] ||= File.expand_path(File.join('..', 'nokogiri_ws'))
    RDoc::RDoc.new.document options
  end
end

Version data entries

13 entries across 13 versions & 7 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb
iisconfig-0.0.1.pre2 build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/tasks/nokogiri.org.rb
iisconfig-0.0.1.pre1 build/bundler/ruby/1.9.1/gems/nokogiri-1.5.0-x86-mingw32/tasks/nokogiri.org.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb
horseman-0.0.4 vendor/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb
nokogiri-maven-1.5.0-java tasks/nokogiri.org.rb
nokogiri-maglev--1.5.0.1 tasks/nokogiri.org.rb
nokogiri-1.5.0-java tasks/nokogiri.org.rb
nokogiri-1.5.0-x86-mingw32 tasks/nokogiri.org.rb
nokogiri-1.5.0-x86-mswin32-60 tasks/nokogiri.org.rb
nokogiri-1.5.0 tasks/nokogiri.org.rb