mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
611 B
21 lines
611 B
module Docs
|
|
class Julia < UrlScraper
|
|
self.type = 'sphinx_simple'
|
|
self.release = '0.5.0'
|
|
self.base_url = 'http://docs.julialang.org/en/release-0.5/'
|
|
self.links = {
|
|
home: 'http://julialang.org/',
|
|
code: 'https://github.com/JuliaLang/julia'
|
|
}
|
|
|
|
html_filters.push 'julia/entries', 'julia/clean_html', 'sphinx/clean_html'
|
|
|
|
options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2009–2016 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
|
|
Licensed under the MIT License.
|
|
HTML
|
|
end
|
|
end
|