[devdocsgjs/main: 854/1867] julia: add versions 1.1 and 1.2




commit cd2339d96a39004d16680a7f2b73397ec80c6896
Author: Simon Legner <Simon Legner gmail com>
Date:   Wed Aug 21 14:19:12 2019 +0200

    julia: add versions 1.1 and 1.2

 .../javascripts/templates/pages/about_tmpl.coffee  |  2 +-
 lib/docs/scrapers/julia.rb                         | 24 ++++++++++++++++++++--
 2 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 4ec24e0e..14674366 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -383,7 +383,7 @@ credits = [
     'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt'
   ], [
     'Julia',
-    '2009-2018 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
+    '2009-2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
     'MIT',
     'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md'
   ], [
diff --git a/lib/docs/scrapers/julia.rb b/lib/docs/scrapers/julia.rb
index c9c96da6..7573ffe7 100644
--- a/lib/docs/scrapers/julia.rb
+++ b/lib/docs/scrapers/julia.rb
@@ -8,12 +8,32 @@ module Docs
     options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
 
     options[:attribution] = <<-HTML
-      &copy; 2009&ndash;2018 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
+      &copy; 2009&ndash;2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
       Licensed under the MIT License.
     HTML
 
+    version '1.2' do
+      self.release = '1.2.0'
+      self.base_url = "https://docs.julialang.org/en/v#{release}/";
+      self.type = 'julia'
+
+      html_filters.push 'julia/entries', 'julia/clean_html'
+
+      options[:container] = '#docs'
+    end
+
+    version '1.1' do
+      self.release = '1.1.1'
+      self.base_url = "https://docs.julialang.org/en/v#{release}/";
+      self.type = 'julia'
+
+      html_filters.push 'julia/entries', 'julia/clean_html'
+
+      options[:container] = '#docs'
+    end
+
     version '1.0' do
-      self.release = '1.0.1'
+      self.release = '1.0.4'
       self.base_url = "https://docs.julialang.org/en/v#{release}/";
       self.type = 'julia'
 


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