From 60b4da97c40fb57bc6e928f42503469e3a09ab80 Mon Sep 17 00:00:00 2001 From: Vadim Kazakov Date: Tue, 29 Nov 2022 13:45:26 -0700 Subject: [PATCH 1/2] update Ember docs * update Ember 3 to latest 3.x version (3.28) * add Ember 4 documentation to latest LTS (4.4) --- .../templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/ember.rb | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 7ca88895..12b69418 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -297,7 +297,7 @@ credits = [ 'https://raw.githubusercontent.com/elixir-lang/elixir/master/LICENSE' ], [ 'Ember.js', - '2020 Yehuda Katz, Tom Dale and Ember.js contributors', + '2022 Yehuda Katz, Tom Dale and Ember.js contributors', 'MIT', 'https://raw.githubusercontent.com/emberjs/ember.js/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/ember.rb b/lib/docs/scrapers/ember.rb index c5c3ac72..28c14148 100644 --- a/lib/docs/scrapers/ember.rb +++ b/lib/docs/scrapers/ember.rb @@ -42,18 +42,27 @@ module Docs ] options[:attribution] = <<-HTML - © 2020 Yehuda Katz, Tom Dale and Ember.js contributors
+ © 2022 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License. HTML options[:decode_and_clean_paths] = true # handle paths like @ember/application + version '4' do + self.release = '4.4.0' + self.base_urls = %w[ + https://guides.emberjs.com/v4.4.0/ + https://api.emberjs.com/ember/4.4/ + https://api.emberjs.com/ember-data/4.4/ + ] + end + version '3' do - self.release = '3.25.0' + self.release = '3.28.0' self.base_urls = %w[ - https://guides.emberjs.com/v3.25.0/ - https://api.emberjs.com/ember/3.25/ - https://api.emberjs.com/ember-data/3.25/ + https://guides.emberjs.com/v3.28.0/ + https://api.emberjs.com/ember/3.28/ + https://api.emberjs.com/ember-data/3.28/ ] end From 10c9f72ecb213fd7a81337099daab0c3fa351445 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 20 Dec 2022 22:53:19 +0100 Subject: [PATCH 2/2] Update Ember.js documentation (4.9.0) --- lib/docs/scrapers/ember.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/docs/scrapers/ember.rb b/lib/docs/scrapers/ember.rb index 28c14148..78b2ebb2 100644 --- a/lib/docs/scrapers/ember.rb +++ b/lib/docs/scrapers/ember.rb @@ -49,11 +49,11 @@ module Docs options[:decode_and_clean_paths] = true # handle paths like @ember/application version '4' do - self.release = '4.4.0' + self.release = '4.9.0' self.base_urls = %w[ - https://guides.emberjs.com/v4.4.0/ - https://api.emberjs.com/ember/4.4/ - https://api.emberjs.com/ember-data/4.4/ + https://guides.emberjs.com/v4.9.0/ + https://api.emberjs.com/ember/4.9/ + https://api.emberjs.com/ember-data/4.9/ ] end