[devdocsgjs/main: 1207/1867] jekyll: retain version 3 docs




commit 19d0131a1720846abfa9a767d1171a59ede46c7b
Author: Simon Legner <Simon Legner gmail com>
Date:   Wed Nov 18 21:30:49 2020 +0100

    jekyll: retain version 3 docs

 lib/docs/scrapers/jekyll.rb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/jekyll.rb b/lib/docs/scrapers/jekyll.rb
index b53eea26..f065c628 100644
--- a/lib/docs/scrapers/jekyll.rb
+++ b/lib/docs/scrapers/jekyll.rb
@@ -1,7 +1,6 @@
 module Docs
   class Jekyll < UrlScraper
     self.type = 'jekyll'
-    self.release = '4.1.1'
     self.base_url = 'https://jekyllrb.com/docs/'
     self.root_path = 'index.html'
     self.links = {
@@ -28,6 +27,14 @@ module Docs
       Licensed under the MIT license.
     HTML
 
+    version '4' do
+      self.release = '4.1.1'
+    end
+
+    version '3' do
+      self.release = '3.7.2'
+    end
+
     def get_latest_version(opts)
       doc = fetch_doc('https://jekyllrb.com/docs/', opts)
       doc.at_css('.meta a').content[1..-1]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]