[devdocsgjs/main: 64/64] Update RxJS documentation (7.5.5)




commit b68744431502b89f6970d24f62ca027dc430f585
Author: Simon Legner <Simon Legner gmail com>
Date:   Wed May 4 22:38:24 2022 +0200

    Update RxJS documentation (7.5.5)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/filters/rxjs/entries.rb                     | 5 +++--
 lib/docs/scrapers/rxjs.rb                            | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 611d67ca..faf716a0 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -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'
   ], [
diff --git a/lib/docs/filters/rxjs/entries.rb b/lib/docs/filters/rxjs/entries.rb
index c6e488fb..afc4ce4a 100644
--- a/lib/docs/filters/rxjs/entries.rb
+++ b/lib/docs/filters/rxjs/entries.rb
@@ -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
diff --git a/lib/docs/scrapers/rxjs.rb b/lib/docs/scrapers/rxjs.rb
index d6cac2e0..69d2fffc 100644
--- a/lib/docs/scrapers/rxjs.rb
+++ b/lib/docs/scrapers/rxjs.rb
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]