Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated dependencies #2334

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions lib/docs/scrapers/angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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/'
Expand Down
6 changes: 3 additions & 3 deletions lib/docs/scrapers/axios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/backbone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down
5 changes: 5 additions & 0 deletions lib/docs/scrapers/bottle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/chai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
15 changes: 15 additions & 0 deletions lib/docs/scrapers/chef.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
5 changes: 5 additions & 0 deletions lib/docs/scrapers/clojure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/codeception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
5 changes: 5 additions & 0 deletions lib/docs/scrapers/cordova.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/cypress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
5 changes: 5 additions & 0 deletions lib/docs/scrapers/dart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/date_fns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions lib/docs/scrapers/deno.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ 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'
}

html_filters.push 'deno/entries', 'deno/clean_html'

# https://github.com/denoland/manual/blob/main/LICENSE
options[:attribution] = <<-HTML
&copy; 2018–2022 the Deno authors
&copy; 2018–2024 the Deno authors
HTML

def get_latest_version(opts)
Expand Down
Binary file modified public/icons/docs/angular/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/docs/angular/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/icons/docs/angular/SOURCE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://angular.io/presskit.html
https://angular.dev/press-kit
2 changes: 1 addition & 1 deletion public/icons/docs/chef/SOURCE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://www.chef.io/
https://www.chef.io/