Skip to content

Commit b687444

Browse files
committed
Update RxJS documentation (7.5.5)
1 parent 0f81af8 commit b687444

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ credits = [
794794
'https://raw.githubusercontent.com/rust-lang/book/master/LICENSE-MIT'
795795
], [
796796
'RxJS',
797-
'2015-2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors',
797+
'2015-2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors',
798798
'Apache',
799799
'https://raw.githubusercontent.com/ReactiveX/rxjs/master/LICENSE.txt'
800800
], [

lib/docs/filters/rxjs/entries.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ def get_type
2020
end
2121

2222
def additional_entries
23-
css('h3[id]').map do |node|
24-
["#{name}.#{node['name']}()", node['id']]
23+
css('h3[id]').flat_map do |node|
24+
return [] unless node['name']
25+
[["#{name}.#{node['name']}()", node['id']]]
2526
end
2627
end
2728
end

lib/docs/scrapers/rxjs.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Docs
44
class Rxjs < UrlScraper
55
self.name = 'RxJS'
66
self.type = 'rxjs'
7-
self.release = '7.1.0'
7+
self.release = '7.5.5'
88
self.base_url = 'https://rxjs.dev/'
99
self.root_path = 'guide/overview'
1010
self.links = {
@@ -27,7 +27,7 @@ class Rxjs < UrlScraper
2727
options[:max_image_size] = 256_000
2828

2929
options[:attribution] = <<-HTML
30-
&copy; 2015&ndash;2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.<br>
30+
&copy; 2015&ndash;2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.<br>
3131
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
3232
HTML
3333

0 commit comments

Comments
 (0)