From 3c84eadba19c865f2abc35a784a8ae4983ec4719 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 7 Jan 2018 18:51:23 -0500 Subject: [PATCH] Update React documentation (16.2.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 4 ++-- lib/docs/scrapers/react.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 1d8694b1..ce0d5c37 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/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', diff --git a/lib/docs/scrapers/react.rb b/lib/docs/scrapers/react.rb index 11872e5e..6bf26299 100644 --- a/lib/docs/scrapers/react.rb +++ b/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 - © 2013–2017 Facebook Inc.
+ © 2013–present Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License. HTML end