-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathreactivex.rb
More file actions
27 lines (22 loc) · 693 Bytes
/
reactivex.rb
File metadata and controls
27 lines (22 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module Docs
class Reactivex < UrlScraper
self.name = 'ReactiveX'
self.type = 'reactivex'
self.base_url = 'http://reactivex.io/'
self.root_path = 'intro.html'
self.links = {
home: 'http://reactivex.io/'
}
html_filters.push 'reactivex/entries', 'reactivex/clean_html'
options[:download_images] = false
options[:only_patterns] = [/documentation\//]
options[:skip_patterns] = [/ko\//]
options[:attribution] = <<-HTML
© ReactiveX contributors<br>
Licensed under the Apache License 2.0.
HTML
def get_latest_version(opts)
get_latest_github_commit_date('ReactiveX', 'reactivex.github.io', opts)
end
end
end