1
0

flow.rb 562 B

12345678910111213141516171819202122
  1. module Docs
  2. class Flow < UrlScraper
  3. self.type = 'flow'
  4. self.release = '0.68.0'
  5. self.base_url = 'https://flow.org/en/docs/'
  6. self.links = {
  7. home: 'https://flow.org/',
  8. code: 'https://github.com/facebook/flow'
  9. }
  10. html_filters.push 'flow/entries', 'flow/clean_html', 'title'
  11. options[:trailing_slash] = false
  12. options[:root_title] = 'Flow'
  13. options[:skip] = %w(libs install)
  14. options[:attribution] = <<-HTML
  15. &copy; 2013&ndash;present Facebook Inc.<br>
  16. Licensed under the BSD License.
  17. HTML
  18. end
  19. end