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

Update React documentation (16.2.0)

Thibaut Courouble 8 жил өмнө
parent
commit
3c84eadba1

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

@@ -537,9 +537,9 @@ credits = [
     'https://raw.githubusercontent.com/ramda/ramda/master/LICENSE.txt'
   ], [
     'React, React Native, Flow, Relay',
-    '2013-2017 Facebook Inc.',
+    '2013-present Facebook Inc.',
     'CC BY',
-    'https://raw.githubusercontent.com/facebook/react/master/LICENSE-docs'
+    'https://raw.githubusercontent.com/reactjs/reactjs.org/master/LICENSE-DOCS.md'
   ], [
     'Redis',
     '2009-2017 Salvatore Sanfilippo',

+ 2 - 2
lib/docs/scrapers/react.rb

@@ -2,7 +2,7 @@ module Docs
   class React < UrlScraper
     self.name = 'React'
     self.type = 'simple'
-    self.release = '16.1.0'
+    self.release = '16.2.0'
     self.base_url = 'https://reactjs.org/docs/'
     self.root_path = 'hello-world.html'
     self.links = {
@@ -27,7 +27,7 @@ module Docs
     }
 
     options[:attribution] = <<-HTML
-      &copy; 2013&ndash;2017 Facebook Inc.<br>
+      &copy; 2013&ndash;present Facebook Inc.<br>
       Licensed under the Creative Commons Attribution 4.0 International Public License.
     HTML
   end