Update Flow documentation (0.22)

This commit is contained in:
Thibaut Courouble 2016-04-09 09:15:51 -04:00
parent 399c2d78ef
commit 9f3f2a75e0
2 changed files with 3 additions and 2 deletions

View file

@ -22,6 +22,7 @@ module Docs
css('.highlight').each do |node|
node.name = 'pre'
node.css('.gutter').remove
node['data-language'] = node.at_css('[data-lang]').try(:[], 'data-lang') || 'js'
node.content = node.content
end

View file

@ -1,7 +1,7 @@
module Docs
class Flow < React
self.type = 'react'
self.release = '0.20'
self.release = '0.22'
self.base_url = 'http://flowtype.org/docs/'
self.root_path = 'about-flow.html'
self.links = {
@ -15,7 +15,7 @@ module Docs
options[:skip] = %w(coming-soon.html)
options[:attribution] = <<-HTML
&copy; 2013&ndash;2015 Facebook Inc.<br>
&copy; 2013&ndash;2016 Facebook Inc.<br>
Licensed under the BSD License.
HTML
end