[devdocsgjs/main: 1329/1867] redux: retain version 3 docs
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1329/1867] redux: retain version 3 docs
- Date: Fri, 19 Nov 2021 23:47:53 +0000 (UTC)
commit 459db1212a61a69eca22cf6afddfb06a0f074e02
Author: Simon Legner <Simon Legner gmail com>
Date: Fri Dec 4 07:44:16 2020 +0100
redux: retain version 3 docs
lib/docs/scrapers/redux.rb | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/redux.rb b/lib/docs/scrapers/redux.rb
index 7c3f953c..31a8de84 100644
--- a/lib/docs/scrapers/redux.rb
+++ b/lib/docs/scrapers/redux.rb
@@ -2,7 +2,6 @@ module Docs
class Redux < UrlScraper
self.type = 'simple'
- self.release = '4.0.5'
self.base_url = 'https://redux.js.org/api'
self.root_path = 'index.html'
self.links = {
@@ -19,6 +18,14 @@ module Docs
Licensed under the MIT License.
HTML
+ version do
+ self.release = '4.0.5'
+ end
+
+ version '3' do
+ self.release = '3.7.2'
+ end
+
def get_latest_version(opts)
get_npm_version('redux', opts)
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]