History

Update React documentation 0.13.0

Thibaut committed 11 years ago

Commit ece24071 parent 16dcc3d2 files · +9 −4Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/react.rb +8 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -277,7 +277,7 @@ credits = [ · 276 unmodified lines
277 'http://docs.python.org/3/license.html'277 'http://docs.python.org/3/license.html'
278 ], [278 ], [
279 'React',279 'React',
280 '2013-2014 Facebook Inc.',280 '2013-2015 Facebook Inc.',
281 'CC BY',281 'CC BY',
282 'https://raw.githubusercontent.com/facebook/react/master/LICENSE-docs'282 'https://raw.githubusercontent.com/facebook/react/master/LICENSE-docs'
283 ], [283 ], [
lib/docs/scrapers/react.rb+8−3
@@ -2,9 +2,13 @@ module Docs · 1 unmodified line
2 class React < UrlScraper2 class React < UrlScraper
3 self.name = 'React'3 self.name = 'React'
4 self.type = 'react'4 self.type = 'react'
5 self.version = '0.12.2'5 self.version = '0.13.0'
6 self.base_url = 'http://facebook.github.io/react/docs/'6 self.base_url = 'http://facebook.github.io/react/docs/'
7 self.root_path = 'getting-started.html'7 self.root_path = 'getting-started.html'
8 self.links = {
9 home: 'http://facebook.github.io/react/',
10 code: 'https://github.com/facebook/react'
11 }
8 12
9 html_filters.push 'react/entries', 'react/clean_html'13 html_filters.push 'react/entries', 'react/clean_html'
10 14
@@ -13,10 +17,11 @@ module Docs · 2 unmodified lines
13 options[:skip] = %w(17 options[:skip] = %w(
14 videos.html18 videos.html
15 complementary-tools.html19 complementary-tools.html
16 examples.html)20 examples.html
21 conferences.html)
17 22
18 options[:attribution] = <<-HTML23 options[:attribution] = <<-HTML
19 &copy; 2013&ndash;2014 Facebook Inc.<br>24 &copy; 2013&ndash;2015 Facebook Inc.<br>
20 Licensed under the Creative Commons Attribution 4.0 International Public License.25 Licensed under the Creative Commons Attribution 4.0 International Public License.
21 HTML26 HTML
22 end27 end