|
|
@ -1,8 +1,13 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Nokogiri2 < Rdoc
|
|
|
|
class Nokogiri2 < Rdoc
|
|
|
|
|
|
|
|
# Instructions:
|
|
|
|
|
|
|
|
# 1. Download the latest release at https://github.com/sparklemotion/nokogiri/releases
|
|
|
|
|
|
|
|
# 2. Run "bundle install && bundle exec rake docs" (in the Nokogiri directory)
|
|
|
|
|
|
|
|
# 4. Copy the "doc" directory to "docs/nokgiri"
|
|
|
|
|
|
|
|
|
|
|
|
self.name = 'Nokogiri'
|
|
|
|
self.name = 'Nokogiri'
|
|
|
|
self.slug = 'nokogiri'
|
|
|
|
self.slug = 'nokogiri'
|
|
|
|
self.release = '1.8.1'
|
|
|
|
self.release = '1.9.0'
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
|
|
|
|
html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
|
|
|
|
|
|
|
|
|
|
|
@ -10,8 +15,8 @@ module Docs
|
|
|
|
options[:only_patterns] = [/\ANokogiri/, /\AXSD/]
|
|
|
|
options[:only_patterns] = [/\ANokogiri/, /\AXSD/]
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2008–2017 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo<br>
|
|
|
|
© 2008–2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,<br>
|
|
|
|
Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid<br>
|
|
|
|
Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid, Lars Kanis<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|
|
|
|