From 5e5e46945aa1f5c865b214438202992f30aca2bb Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 27 Mar 2021 22:34:09 +0100 Subject: [PATCH] Update Julia documentation (1.6.0) --- .../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 - © 2009–2020 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors
+ © 2009–2021 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors
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}/"