1
0

reactivex.rb 573 B

1234567891011121314151617181920212223
  1. module Docs
  2. class Reactivex < UrlScraper
  3. self.type = 'reactivex'
  4. self.name = 'ReactiveX'
  5. self.base_url = 'http://reactivex.io/'
  6. self.root_path = 'intro.html'
  7. self.links = {
  8. home: 'http://reactivex.io/'
  9. }
  10. html_filters.push 'reactivex/entries', 'reactivex/clean_html'
  11. options[:download_images] = false
  12. options[:only_patterns] = [/documentation\//]
  13. options[:skip_patterns] = [/ko\//]
  14. options[:attribution] = <<-HTML
  15. &copy; ReactiveX contributors<br>
  16. Licensed under the Apache License 2.0.
  17. HTML
  18. end
  19. end