Update Flow documentation (0.37.4)

pull/565/head
Thibaut Courouble 8 years ago
parent 1ea9b70844
commit c954e6db82

@ -7,6 +7,7 @@ module Docs
def get_type def get_type
link = at_css('.nav-docs-section .active, .toc .active') link = at_css('.nav-docs-section .active, .toc .active')
return 'Miscellaneous' unless link
section = link.ancestors('.nav-docs-section, section').first section = link.ancestors('.nav-docs-section, section').first
type = section.at_css('h3').content.strip type = section.at_css('h3').content.strip
type type

@ -1,7 +1,7 @@
module Docs module Docs
class Flow < React class Flow < React
self.type = 'react' self.type = 'react'
self.release = '0.34' self.release = '0.37.4'
self.base_url = 'https://flowtype.org/docs/' self.base_url = 'https://flowtype.org/docs/'
self.root_path = 'getting-started.html' self.root_path = 'getting-started.html'
self.links = { self.links = {
@ -14,7 +14,7 @@ module Docs
options[:only_patterns] = nil options[:only_patterns] = nil
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2013&ndash;2016 Facebook Inc.<br> &copy; 2013&ndash;present Facebook Inc.<br>
Licensed under the BSD License. Licensed under the BSD License.
HTML HTML
end end

Loading…
Cancel
Save