[devdocsgjs/main: 1579/1867] Update Julia documentation (1.6.0)




commit 5e5e46945aa1f5c865b214438202992f30aca2bb
Author: Simon Legner <Simon Legner gmail com>
Date:   Sat Mar 27 22:34:09 2021 +0100

    Update Julia documentation (1.6.0)

 assets/javascripts/templates/pages/about_tmpl.coffee |  2 +-
 lib/docs/scrapers/julia.rb                           | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 6b729855..07956a50 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -433,7 +433,7 @@ credits = [
     'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt'
   ], [
     'Julia',
-    '2009-2020 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
+    '2009-2021 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 39c9f9d0..8d5b4a3e 100644
--- a/lib/docs/scrapers/julia.rb
+++ b/lib/docs/scrapers/julia.rb
@@ -7,10 +7,21 @@ module Docs
 
 
     options[:attribution] = <<-HTML
-      &copy; 2009&ndash;2020 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
+      &copy; 2009&ndash;2021 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
       Licensed under the MIT License.
     HTML
 
+    version '1.6' do
+      self.release = '1.6.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-main'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
+    end
+
     version '1.5' do
       self.release = '1.5.3'
       self.base_url = "https://docs.julialang.org/en/v#{release}/";


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