1
0
Эх сурвалжийг харах

Update Node.js documentation (5.0.0)

Thibaut 10 жил өмнө
parent
commit
17f6d31bbd

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

@@ -264,7 +264,7 @@ credits = [
     'Node.js',
     'Joyent, Inc. and other Node contributors<br>Node.js is a trademark of Joyent, Inc.',
     'MIT',
-    'https://raw.github.com/joyent/node/master/LICENSE'
+    'https://raw.githubusercontent.com/nodejs/node/master/LICENSE'
   ], [
     'Nokogiri',
     '2008-2014 2014 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha',

+ 5 - 3
lib/docs/scrapers/node.rb

@@ -3,11 +3,11 @@ module Docs
     self.name = 'Node.js'
     self.slug = 'node'
     self.type = 'node'
-    self.version = '4.2.1'
+    self.version = '5.0.0'
     self.base_url = 'https://nodejs.org/api/'
     self.links = {
       home: 'https://nodejs.org/',
-      code: 'https://github.com/joyent/node'
+      code: 'https://github.com/nodejs/node'
     }
 
     html_filters.push 'node/clean_html', 'node/entries', 'title'
@@ -19,7 +19,9 @@ module Docs
 
     options[:attribution] = <<-HTML
       &copy; Joyent, Inc. and other Node contributors<br>
-      Licensed under the MIT License.
+      Licensed under the MIT License.<br>
+      Node.js is a trademark of Joyent, Inc. and is used with its permission.<br>
+      We are not endorsed by or affiliated with Joyent.
     HTML
   end
 end