Sha256: 771f586df6a28eb2dae98155c7cadb2d3d058fe011641f750c0774f9722aa540

Contents?: true

Size: 781 Bytes

Versions: 210

Compression:

Stored size: 781 Bytes

Contents

#
#  note that this file will only work if you've got the `nokogiri.org`
#  repo checked out, and you've got an rvm gemset "1.8.7@nokogiri"
#  bundled with both nokogiri's and nokogiri.org's gems.
#
namespace :docs do
  desc "generate HTML docs for nokogiri.org"
  task :website do
    system 'rvm use 1.8.7@nokogiri' # see above
    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

210 entries across 210 versions & 15 rubygems

Version Path
rubyjobbuilderdsl-0.0.2 vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/nokogiri.org.rb
rubyjobbuilderdsl-0.0.1 vendor/bundle/ruby/2.1.0/gems/nokogiri-1.6.3.1-x64-mingw32/tasks/nokogiri.org.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/nokogiri-1.6.3.1-x86-mingw32/tasks/nokogiri.org.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/nokogiri-1.6.3.1/tasks/nokogiri.org.rb
nokogiri-1.6.5 tasks/nokogiri.org.rb
nokogiri-1.6.5-x86-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.5-x64-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.5-java tasks/nokogiri.org.rb
nokogiri-1.6.4.1 tasks/nokogiri.org.rb
nokogiri-1.6.4.1-x86-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.4.1-x64-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.4.1-java tasks/nokogiri.org.rb
nokogiri-1.6.4 tasks/nokogiri.org.rb
nokogiri-1.6.4-x86-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.4-x64-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.4-java tasks/nokogiri.org.rb
nokogiri-1.6.3.1 tasks/nokogiri.org.rb
nokogiri-1.6.3.1-x86-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.3.1-x64-mingw32 tasks/nokogiri.org.rb
nokogiri-1.6.3.1-java tasks/nokogiri.org.rb