mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update RxJS documentation (7.5.5)
This commit is contained in:
parent
0f81af8616
commit
b687444315
3 changed files with 6 additions and 5 deletions
|
@ -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'
|
||||
], [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.<br>
|
||||
© 2015–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
|
||||
|
||||
|
|
Loading…
Reference in a new issue