mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Flow documentation (0.22)
This commit is contained in:
parent
399c2d78ef
commit
9f3f2a75e0
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
© 2013–2015 Facebook Inc.<br>
|
||||
© 2013–2016 Facebook Inc.<br>
|
||||
Licensed under the BSD License.
|
||||
HTML
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue