1
0

flow.rb 581 B

12345678910111213141516171819202122
  1. module Docs
  2. class Flow < React
  3. self.type = 'react'
  4. self.release = '0.20'
  5. self.base_url = 'http://flowtype.org/docs/'
  6. self.root_path = 'about-flow.html'
  7. self.links = {
  8. home: 'http://flowtype.org/',
  9. code: 'https://github.com/facebook/flow'
  10. }
  11. options[:container] = '.content'
  12. options[:root_title] = 'Flow Documentation'
  13. options[:only_patterns] = nil
  14. options[:skip] = %w(coming-soon.html)
  15. options[:attribution] = <<-HTML
  16. &copy; 2013&ndash;2015 Facebook Inc.<br>
  17. Licensed under the BSD License.
  18. HTML
  19. end
  20. end