Update RxJS documentation (7.5.5)

This commit is contained in:
Simon Legner 2022-05-04 22:38:24 +02:00
parent 0f81af8616
commit b687444315
3 changed files with 6 additions and 5 deletions

View file

@ -794,7 +794,7 @@ credits = [
'https://raw.githubusercontent.com/rust-lang/book/master/LICENSE-MIT'
], [
'RxJS',
'2015-2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors',
'2015-2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors',
'Apache',
'https://raw.githubusercontent.com/ReactiveX/rxjs/master/LICENSE.txt'
], [

View file

@ -20,8 +20,9 @@ module Docs
end
def additional_entries
css('h3[id]').map do |node|
["#{name}.#{node['name']}()", node['id']]
css('h3[id]').flat_map do |node|
return [] unless node['name']
[["#{name}.#{node['name']}()", node['id']]]
end
end
end

View file

@ -4,7 +4,7 @@ module Docs
class Rxjs < UrlScraper
self.name = 'RxJS'
self.type = 'rxjs'
self.release = '7.1.0'
self.release = '7.5.5'
self.base_url = 'https://rxjs.dev/'
self.root_path = 'guide/overview'
self.links = {
@ -27,7 +27,7 @@ module Docs
options[:max_image_size] = 256_000
options[:attribution] = <<-HTML
&copy; 2015&ndash;2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.<br>
&copy; 2015&ndash;2022 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.<br>
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
HTML