[devdocsgjs/main: 1191/1867] babel: retain version 6 docs
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1191/1867] babel: retain version 6 docs
- Date: Fri, 19 Nov 2021 23:47:48 +0000 (UTC)
commit 597afd046dcb40bc3b3a32f972c1b3c67f5601f1
Author: Simon Legner <Simon Legner gmail com>
Date: Tue Nov 17 08:14:55 2020 +0100
babel: retain version 6 docs
lib/docs/scrapers/babel.rb | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/babel.rb b/lib/docs/scrapers/babel.rb
index e26848f7..78d52d78 100644
--- a/lib/docs/scrapers/babel.rb
+++ b/lib/docs/scrapers/babel.rb
@@ -2,7 +2,6 @@ module Docs
class Babel < UrlScraper
self.type = 'simple'
self.base_url = 'https://babeljs.io/docs/en/'
- self.release = '7.12.6'
self.links = {
home: 'https://babeljs.io/',
code: 'https://github.com/babel/babel'
@@ -30,6 +29,14 @@ module Docs
Licensed under the MIT License.
HTML
+ version '7' do
+ self.release = '7.12.6'
+ end
+
+ version '6' do
+ self.release = '6.26.1'
+ end
+
def get_latest_version(opts)
get_latest_github_release('babel', 'babel', opts)
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]