1
0

flow.rb 551 B

123456789101112131415161718192021
  1. module Docs
  2. class Flow < React
  3. self.type = 'react'
  4. self.release = '0.37.4'
  5. self.base_url = 'https://flowtype.org/docs/'
  6. self.root_path = 'getting-started.html'
  7. self.links = {
  8. home: 'https://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[:attribution] = <<-HTML
  15. &copy; 2013&ndash;present Facebook Inc.<br>
  16. Licensed under the BSD License.
  17. HTML
  18. end
  19. end