diff --git a/lib/docs/scrapers/angular.rb b/lib/docs/scrapers/angular.rb index dcbdd0ea70..d9958c55cb 100644 --- a/lib/docs/scrapers/angular.rb +++ b/lib/docs/scrapers/angular.rb @@ -4,10 +4,10 @@ module Docs class Angular < UrlScraper self.type = 'angular' self.links = { - home: 'https://angular.io/', + home: 'https://angular.dev/', code: 'https://github.com/angular/angular' } - self.base_url = 'https://angular.io/' + self.base_url = 'https://angular.dev/' self.root_path = 'docs' html_filters.push 'angular/clean_html', 'angular/entries' @@ -82,6 +82,12 @@ def url_for(path) include Docs::Angular::Common end + version do + self.release = '18.2.6' + self.base_url = 'https://angular.dev/' + include Docs::Angular::Since12 + end + version do self.release = '17.0.8' self.base_url = 'https://angular.io/' diff --git a/lib/docs/scrapers/axios.rb b/lib/docs/scrapers/axios.rb index 0a78e940a5..5185313be5 100755 --- a/lib/docs/scrapers/axios.rb +++ b/lib/docs/scrapers/axios.rb @@ -2,11 +2,11 @@ module Docs class Axios < UrlScraper self.type = 'simple' self.links = { - home: 'hthttps://axios-http.com/', + home: 'https://axios-http.com/', code: 'https://github.com/axios/axios' } - self.release = '1.6.5' - self.base_url = "https://axios-http.com/docs/" + self.release = '1.7.7' + self.base_url = "https://axios-http.com/docs/intro" self.initial_paths = %w(index intro) html_filters.push 'axios/entries', 'axios/clean_html' diff --git a/lib/docs/scrapers/backbone.rb b/lib/docs/scrapers/backbone.rb index cff7b7c217..2f7edc1f34 100644 --- a/lib/docs/scrapers/backbone.rb +++ b/lib/docs/scrapers/backbone.rb @@ -3,7 +3,7 @@ class Backbone < UrlScraper self.name = 'Backbone.js' self.slug = 'backbone' self.type = 'underscore' - self.release = '1.5.0' + self.release = '1.6.0' self.base_url = 'https://backbonejs.org' self.links = { home: 'https://backbonejs.org/', diff --git a/lib/docs/scrapers/bottle.rb b/lib/docs/scrapers/bottle.rb index d0397ec723..2258d1f6e6 100644 --- a/lib/docs/scrapers/bottle.rb +++ b/lib/docs/scrapers/bottle.rb @@ -18,6 +18,11 @@ class Bottle < UrlScraper Licensed under the MIT License. HTML + version '0.13' do + self.release = '0.12.13' + self.base_url = "https://bottlepy.org/docs/#{self.version}/" + end + version '0.12' do self.release = '0.12.13' self.base_url = "https://bottlepy.org/docs/#{self.version}/" diff --git a/lib/docs/scrapers/chai.rb b/lib/docs/scrapers/chai.rb index 16221ccc6a..14273b056d 100644 --- a/lib/docs/scrapers/chai.rb +++ b/lib/docs/scrapers/chai.rb @@ -2,7 +2,7 @@ module Docs class Chai < UrlScraper self.name = 'Chai' self.type = 'simple' - self.release = '4.3.4' + self.release = '5.1.1' self.base_url = 'https://www.chaijs.com' self.root_path = '/api/' self.initial_paths = %w(/guide/installation/) diff --git a/lib/docs/scrapers/chef.rb b/lib/docs/scrapers/chef.rb index b53721c406..54f03c3e3a 100644 --- a/lib/docs/scrapers/chef.rb +++ b/lib/docs/scrapers/chef.rb @@ -20,6 +20,21 @@ class Chef < UrlScraper We are not affiliated with, endorsed or sponsored by Chef Inc. HTML + version '19' do + self.release = '19.0.22' + + options[:container] = '.off-canvas-wrapper' + + options[:skip] = [ + '/automate/api/', + '/habitat/supervisor_api/', + '/habitat/builder_api/' + ] + + html_filters.push 'chef/entries', 'chef/clean_html' + + end + version '18' do self.release = '18.0.15' diff --git a/lib/docs/scrapers/clojure.rb b/lib/docs/scrapers/clojure.rb index 50146a68f9..6097cf5107 100644 --- a/lib/docs/scrapers/clojure.rb +++ b/lib/docs/scrapers/clojure.rb @@ -17,6 +17,11 @@ class Clojure < UrlScraper Licensed under the Eclipse Public License 1.0. HTML + version '1.12' do + self.release = '1.12.0' + self.base_url = 'https://clojure.github.io/clojure/' + end + version '1.11' do self.release = '1.11' self.base_url = 'https://clojure.github.io/clojure/' diff --git a/lib/docs/scrapers/codeception.rb b/lib/docs/scrapers/codeception.rb index 64ebc26367..cad43702d2 100644 --- a/lib/docs/scrapers/codeception.rb +++ b/lib/docs/scrapers/codeception.rb @@ -2,7 +2,7 @@ module Docs class Codeception < UrlScraper self.name = 'Codeception' self.type = 'codeception' - self.release = '4.1.22' + self.release = '5.1.2' self.base_url = 'https://codeception.com/docs/' self.root_path = 'index.html' self.links = { diff --git a/lib/docs/scrapers/cordova.rb b/lib/docs/scrapers/cordova.rb index 9395a316fb..e421a03e17 100644 --- a/lib/docs/scrapers/cordova.rb +++ b/lib/docs/scrapers/cordova.rb @@ -28,6 +28,11 @@ class Cordova < UrlScraper Licensed under the Apache License 2.0. HTML + version '12' do + self.release = '12' + self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" + end + version '9' do self.release = '9.0.0' self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" diff --git a/lib/docs/scrapers/cypress.rb b/lib/docs/scrapers/cypress.rb index 94c83ca00a..e98cad3e4d 100644 --- a/lib/docs/scrapers/cypress.rb +++ b/lib/docs/scrapers/cypress.rb @@ -4,7 +4,7 @@ module Docs class Cypress < UrlScraper self.name = 'Cypress' self.type = 'cypress' - self.release = '9.4.1' + self.release = '13.15.0' self.base_url = 'https://docs.cypress.io' self.root_path = '/api/table-of-contents.html' self.links = { diff --git a/lib/docs/scrapers/dart.rb b/lib/docs/scrapers/dart.rb index fd04555f81..f0f7e8ed67 100644 --- a/lib/docs/scrapers/dart.rb +++ b/lib/docs/scrapers/dart.rb @@ -20,6 +20,11 @@ class Dart < FileScraper Licensed under the BSD 3-Clause "New" or "Revised" License. HTML + version '3' do + self.release = '3.5.3' + self.base_url = "https://api.dart.dev/stable/#{release}/" + end + version '2' do self.release = '2.18.5' self.base_url = "https://api.dart.dev/stable/#{release}/" diff --git a/lib/docs/scrapers/date_fns.rb b/lib/docs/scrapers/date_fns.rb index db9d79020d..7111db4baf 100755 --- a/lib/docs/scrapers/date_fns.rb +++ b/lib/docs/scrapers/date_fns.rb @@ -7,7 +7,7 @@ class DateFns < FileScraper home: 'https://date-fns.org/', code: 'https://github.com/date-fns/date-fns' } - self.release = '2.29.2' + self.release = '4.1.0' self.base_url = "https://date-fns.org/v#{self.release}/docs/" # https://github.com/date-fns/date-fns/blob/main/LICENSE.md diff --git a/lib/docs/scrapers/deno.rb b/lib/docs/scrapers/deno.rb index 1b00b7053d..18548e6a01 100644 --- a/lib/docs/scrapers/deno.rb +++ b/lib/docs/scrapers/deno.rb @@ -2,10 +2,10 @@ module Docs class Deno < UrlScraper self.name = 'Deno' self.type = 'simple' - self.release = '1.27.0' - self.base_url = 'https://doc.deno.land/deno/stable/' + self.release = '1.46.3' + self.base_url = 'https://docs.deno.com/api/deno/' self.links = { - home: 'https://deno.land/', + home: 'https://deno.com', code: 'https://github.com/denoland/deno' } @@ -13,7 +13,7 @@ class Deno < UrlScraper # https://github.com/denoland/manual/blob/main/LICENSE options[:attribution] = <<-HTML - © 2018–2022 the Deno authors + © 2018–2024 the Deno authors HTML def get_latest_version(opts) diff --git a/public/icons/docs/angular/16.png b/public/icons/docs/angular/16.png index ace09120ce..34f3e22544 100644 Binary files a/public/icons/docs/angular/16.png and b/public/icons/docs/angular/16.png differ diff --git a/public/icons/docs/angular/16@2x.png b/public/icons/docs/angular/16@2x.png index f6c6a096ee..7e19d15cc2 100644 Binary files a/public/icons/docs/angular/16@2x.png and b/public/icons/docs/angular/16@2x.png differ diff --git a/public/icons/docs/angular/SOURCE b/public/icons/docs/angular/SOURCE index 0358b69e71..abc6177e7e 100644 --- a/public/icons/docs/angular/SOURCE +++ b/public/icons/docs/angular/SOURCE @@ -1 +1 @@ -https://angular.io/presskit.html +https://angular.dev/press-kit diff --git a/public/icons/docs/chef/SOURCE b/public/icons/docs/chef/SOURCE index 21cb5c3ce5..0dcee27d6b 100644 --- a/public/icons/docs/chef/SOURCE +++ b/public/icons/docs/chef/SOURCE @@ -1 +1 @@ -https://www.chef.io/ \ No newline at end of file +https://www.chef.io/