History

Added Julia base language docs for v0.7 and later

These docs were moved to their own section (`base`) in v0.7.

Fons van der Plas committed 6 years ago

Commit 690889e1 parent 58c44bf1 file · +7 −1Browse files

Unified · Split

lib/docs/scrapers/julia.rb+7−1
@@ -5,7 +5,6 @@ module Docs · 4 unmodified lines
5 code: 'https://github.com/JuliaLang/julia'5 code: 'https://github.com/JuliaLang/julia'
6 }6 }
7 7
8 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
9 8
10 options[:attribution] = <<-HTML9 options[:attribution] = <<-HTML
11 &copy; 2009&ndash;2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>10 &copy; 2009&ndash;2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
@@ -20,6 +19,7 @@ module Docs · 8 unmodified lines
20 html_filters.push 'julia/entries', 'julia/clean_html'19 html_filters.push 'julia/entries', 'julia/clean_html'
21 20
22 options[:container] = '#docs'21 options[:container] = '#docs'
22 options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
23 end23 end
24 24
25 version '1.1' do25 version '1.1' do
@@ -30,6 +30,7 @@ module Docs · 4 unmodified lines
30 html_filters.push 'julia/entries', 'julia/clean_html'30 html_filters.push 'julia/entries', 'julia/clean_html'
31 31
32 options[:container] = '#docs'32 options[:container] = '#docs'
33 options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
33 end34 end
34 35
35 version '1.0' do36 version '1.0' do
@@ -40,6 +41,7 @@ module Docs · 4 unmodified lines
40 html_filters.push 'julia/entries', 'julia/clean_html'41 html_filters.push 'julia/entries', 'julia/clean_html'
41 42
42 options[:container] = '#docs'43 options[:container] = '#docs'
44 options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
43 end45 end
44 46
45 version '0.7' do47 version '0.7' do
@@ -50,6 +52,7 @@ module Docs · 4 unmodified lines
50 html_filters.push 'julia/entries', 'julia/clean_html'52 html_filters.push 'julia/entries', 'julia/clean_html'
51 53
52 options[:container] = '#docs'54 options[:container] = '#docs'
55 options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
53 end56 end
54 57
55 version '0.6' do58 version '0.6' do
@@ -60,6 +63,7 @@ module Docs · 4 unmodified lines
60 html_filters.push 'julia/entries', 'julia/clean_html'63 html_filters.push 'julia/entries', 'julia/clean_html'
61 64
62 options[:container] = '#docs'65 options[:container] = '#docs'
66 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
63 end67 end
64 68
65 version '0.5' do69 version '0.5' do
@@ -68,6 +72,8 @@ module Docs · 2 unmodified lines
68 self.type = 'sphinx_simple'72 self.type = 'sphinx_simple'
69 73
70 html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'74 html_filters.push 'julia/entries_sphinx', 'julia/clean_html_sphinx', 'sphinx/clean_html'
75
76 options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
71 end77 end
72 78
73 def get_latest_version(opts)79 def get_latest_version(opts)