Selaa lähdekoodia

Update React documentation 0.13.0

Thibaut 10 vuotta sitten
vanhempi
commit
ece240796b

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

@@ -277,7 +277,7 @@ credits = [
     'http://docs.python.org/3/license.html'
   ], [
     'React',
-    '2013-2014 Facebook Inc.',
+    '2013-2015 Facebook Inc.',
     'CC BY',
     'https://raw.githubusercontent.com/facebook/react/master/LICENSE-docs'
   ], [

+ 8 - 3
lib/docs/scrapers/react.rb

@@ -2,9 +2,13 @@ module Docs
   class React < UrlScraper
     self.name = 'React'
     self.type = 'react'
-    self.version = '0.12.2'
+    self.version = '0.13.0'
     self.base_url = 'http://facebook.github.io/react/docs/'
     self.root_path = 'getting-started.html'
+    self.links = {
+      home: 'http://facebook.github.io/react/',
+      code: 'https://github.com/facebook/react'
+    }
 
     html_filters.push 'react/entries', 'react/clean_html'
 
@@ -13,10 +17,11 @@ module Docs
     options[:skip] = %w(
       videos.html
       complementary-tools.html
-      examples.html)
+      examples.html
+      conferences.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2013&ndash;2014 Facebook Inc.<br>
+      &copy; 2013&ndash;2015 Facebook Inc.<br>
       Licensed under the Creative Commons Attribution 4.0 International Public License.
     HTML
   end