History

Update Nokogiri documentation (1.10.4)

Jasper van Merle committed 7 years ago

Commit ffb39cb1 parent c20ad3e3 files · +9 −5Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/filters/nokogiri2/entries.rb +4 −0
  3. lib/docs/scrapers/nokogiri2.rb +3 −3
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -518,9 +518,9 @@ credits = [ · 517 unmodified lines
518 'https://raw.githubusercontent.com/nodejs/node/master/LICENSE'518 'https://raw.githubusercontent.com/nodejs/node/master/LICENSE'
519 ], [519 ], [
520 'Nokogiri',520 'Nokogiri',
521 '2008-2017 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid',521 '2008-2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis',
522 'MIT',522 'MIT',
523 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.txt'523 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.md'
524 ], [524 ], [
525 'npm',525 'npm',
526 'npm, Inc. and Contributors<br>npm is a trademark of npm, Inc.',526 'npm, Inc. and Contributors<br>npm is a trademark of npm, Inc.',
lib/docs/filters/nokogiri2/entries.rb+4−0
@@ -6,6 +6,10 @@ module Docs · 5 unmodified lines
6 type.remove! %r{#.+\z}6 type.remove! %r{#.+\z}
7 type.split('::')[0..2].join('::')7 type.split('::')[0..2].join('::')
8 end8 end
9
10 def include_default_entry?
11 true
12 end
9 end13 end
10 end14 end
11end15end
lib/docs/scrapers/nokogiri2.rb+3−3
@@ -3,11 +3,11 @@ module Docs · 2 unmodified lines
3 # Instructions:3 # Instructions:
4 # 1. Download the latest release at https://github.com/sparklemotion/nokogiri/releases4 # 1. Download the latest release at https://github.com/sparklemotion/nokogiri/releases
5 # 2. Run "bundle install && bundle exec rake docs" (in the Nokogiri directory)5 # 2. Run "bundle install && bundle exec rake docs" (in the Nokogiri directory)
6 # 4. Copy the "doc" directory to "docs/nokgiri"6 # 4. Copy the "doc" directory to "docs/nokogiri"
7 7
8 self.name = 'Nokogiri'8 self.name = 'Nokogiri'
9 self.slug = 'nokogiri'9 self.slug = 'nokogiri'
10 self.release = '1.9.0'10 self.release = '1.10.4'
11 11
12 html_filters.replace 'rdoc/entries', 'nokogiri2/entries'12 html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
13 13
@@ -16,7 +16,7 @@ module Docs · 2 unmodified lines
16 16
17 options[:attribution] = <<-HTML17 options[:attribution] = <<-HTML
18 &copy; 2008&ndash;2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,<br>18 &copy; 2008&ndash;2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,<br>
19 Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid, Lars Kanis<br>19 Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis<br>
20 Licensed under the MIT License.20 Licensed under the MIT License.
21 HTML21 HTML
22 22