Skip to content

Commit

Permalink
Update RxJS documentation (7.8.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Nov 19, 2024
1 parent b6f6ddc commit 811b9d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/docs/scrapers/rxjs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Docs
class Rxjs < UrlScraper
self.name = 'RxJS'
self.type = 'rxjs'
self.release = '7.5.5'
self.release = '7.8.1'
self.base_url = 'https://rxjs.dev/'
self.root_path = 'guide/overview'
self.links = {
Expand All @@ -16,7 +16,7 @@ class Rxjs < UrlScraper

options[:follow_links] = false
options[:only_patterns] = [/guide\//, /api\//]
options[:skip_patterns] = [/api\/([^\/]+)\.json/]
options[:skip_patterns] = [/api\/([^\/]+)\.json/, /api\/index/]
options[:fix_urls_before_parse] = ->(url) do
url.sub! %r{\A(\.\/)?guide/}, '/guide/'
url.sub! %r{\Aapi/}, '/api/'
Expand Down

0 comments on commit 811b9d1

Please sign in to comment.