Update Flow documentation (0.22)

pull/384/head
Thibaut Courouble 9 years ago
parent 399c2d78ef
commit 9f3f2a75e0

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

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

Loading…
Cancel
Save