Skip to content

Commit 5cbfdf4

Browse files
committed
Update Julia documentation (1.0.0)
1 parent 082376d commit 5cbfdf4

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

lib/docs/scrapers/julia.rb

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,29 @@ class Julia < UrlScraper
1212
Licensed under the MIT License.
1313
HTML
1414

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+
1535
version '0.6' do
1636
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}/"
1838
self.type = 'julia'
1939

2040
html_filters.push 'julia/entries', 'julia/clean_html'
@@ -24,7 +44,7 @@ class Julia < UrlScraper
2444

2545
version '0.5' do
2646
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}/"
2848
self.type = 'sphinx_simple'
2949

3050
html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'

0 commit comments

Comments
 (0)