History

Update Julia documentation (1.0.0)

Thibaut Courouble committed 8 years ago

Commit 5cbfdf41 parent 082376d1 file · +22 −2Browse files

Unified · Split

lib/docs/scrapers/julia.rb+22−2
@@ -12,9 +12,29 @@ module Docs · 11 unmodified lines
12 Licensed under the MIT License.12 Licensed under the MIT License.
13 HTML13 HTML
14 14
15 version '1.0' do
16 self.release = '1.0.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 '0.7' do
26 self.release = '0.7.0'
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 '0.6' do35 version '0.6' do
16 self.release = '0.6.2'36 self.release = '0.6.2'
17 self.base_url = 'https://docs.julialang.org/en/release-0.6/'37 self.base_url = "https://docs.julialang.org/en/v#{release}/"
18 self.type = 'julia'38 self.type = 'julia'
19 39
20 html_filters.push 'julia/entries', 'julia/clean_html'40 html_filters.push 'julia/entries', 'julia/clean_html'
@@ -24,7 +44,7 @@ module Docs · 3 unmodified lines
24 44
25 version '0.5' do45 version '0.5' do
26 self.release = '0.5.2'46 self.release = '0.5.2'
27 self.base_url = 'https://docs.julialang.org/en/release-0.5/'47 self.base_url = "https://docs.julialang.org/en/v#{release}/"
28 self.type = 'sphinx_simple'48 self.type = 'sphinx_simple'
29 49
30 html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'50 html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'