History

julia: add versions 1.1 and 1.2

Simon Legner committed 7 years ago

Commit cd2339d1 parent d39f0dc2 files · +23 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/julia.rb +22 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -383,7 +383,7 @@ credits = [ · 382 unmodified lines
383 'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt'383 'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt'
384 ], [384 ], [
385 'Julia',385 'Julia',
386 '2009-2018 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',386 '2009-2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors',
387 'MIT',387 'MIT',
388 'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md'388 'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md'
389 ], [389 ], [
lib/docs/scrapers/julia.rb+22−2
@@ -8,12 +8,32 @@ module Docs · 7 unmodified lines
8 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]8 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
9 9
10 options[:attribution] = <<-HTML10 options[:attribution] = <<-HTML
11 &copy; 2009&ndash;2018 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>11 &copy; 2009&ndash;2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
12 Licensed under the MIT License.12 Licensed under the MIT License.
13 HTML13 HTML
14 14
15 version '1.2' do
16 self.release = '1.2.0'
17 self.base_url = "https://docs.julialang.org/en/v#{release}/"
18 self.type = 'julia'
19
20 html_filters.push 'julia/entries', 'julia/clean_html'
21
22 options[:container] = '#docs'
23 end
24
25 version '1.1' do
26 self.release = '1.1.1'
27 self.base_url = "https://docs.julialang.org/en/v#{release}/"
28 self.type = 'julia'
29
30 html_filters.push 'julia/entries', 'julia/clean_html'
31
32 options[:container] = '#docs'
33 end
34
15 version '1.0' do35 version '1.0' do
16 self.release = '1.0.1'36 self.release = '1.0.4'
17 self.base_url = "https://docs.julialang.org/en/v#{release}/"37 self.base_url = "https://docs.julialang.org/en/v#{release}/"
18 self.type = 'julia'38 self.type = 'julia'
19 39