File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,29 @@ class Julia < UrlScraper
12
12
Licensed under the MIT License.
13
13
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
35
version '0.6' do
16
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
38
self . type = 'julia'
19
39
20
40
html_filters . push 'julia/entries' , 'julia/clean_html'
@@ -24,7 +44,7 @@ class Julia < UrlScraper
24
44
25
45
version '0.5' do
26
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
48
self . type = 'sphinx_simple'
29
49
30
50
html_filters . push 'julia/entries_sphinx' , 'julia/clean_html_sphinx' , 'sphinx/clean_html'
You can’t perform that action at this time.
0 commit comments