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
383383 'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt'
384384 ], [
385385 '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',
387387 'MIT',
388388 'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md'
389389 ], [
lib/docs/scrapers/julia.rb+22−2
@@ -8,12 +8,32 @@ module Docs · 7 unmodified lines
88 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
99
1010 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>
1212 Licensed under the MIT License.
1313 HTML
1414
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+
1535 version '1.0' do
16− self.release = '1.0.1'
36+ self.release = '1.0.4'
1737 self.base_url = "https://docs.julialang.org/en/v#{release}/"
1838 self.type = 'julia'
1939