瀏覽代碼

Update Nokogiri documentation (1.10.4)

Jasper van Merle 6 年之前
父節點
當前提交
ffb39cba54

+ 2 - 2
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -518,9 +518,9 @@ credits = [
     'https://raw.githubusercontent.com/nodejs/node/master/LICENSE'
   ], [
     'Nokogiri',
-    '2008-2017 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid',
+    '2008-2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis',
     'MIT',
-    'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.txt'
+    'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.md'
   ], [
     'npm',
     'npm, Inc. and Contributors<br>npm is a trademark of npm, Inc.',

+ 4 - 0
lib/docs/filters/nokogiri2/entries.rb

@@ -6,6 +6,10 @@ module Docs
         type.remove! %r{#.+\z}
         type.split('::')[0..2].join('::')
       end
+
+      def include_default_entry?
+        true
+      end
     end
   end
 end

+ 3 - 3
lib/docs/scrapers/nokogiri2.rb

@@ -3,11 +3,11 @@ module Docs
     # 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"
+    #   4. Copy the "doc" directory to "docs/nokogiri"
 
     self.name = 'Nokogiri'
     self.slug = 'nokogiri'
-    self.release = '1.9.0'
+    self.release = '1.10.4'
 
     html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
 
@@ -16,7 +16,7 @@ module Docs
 
     options[:attribution] = <<-HTML
       &copy; 2008&ndash;2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,<br>
-      Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid, Lars Kanis<br>
+      Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis<br>
       Licensed under the MIT License.
     HTML