julia.rb 611 B

1234567891011121314151617181920
  1. module Docs
  2. class Julia < UrlScraper
  3. self.type = 'sphinx_simple'
  4. self.release = '0.5.0'
  5. self.base_url = 'http://docs.julialang.org/en/release-0.5/'
  6. self.links = {
  7. home: 'http://julialang.org/',
  8. code: 'https://github.com/JuliaLang/julia'
  9. }
  10. html_filters.push 'julia/entries', 'julia/clean_html', 'sphinx/clean_html'
  11. options[:only_patterns] = [/\Amanual\//, /\Astdlib\//]
  12. options[:attribution] = <<-HTML
  13. &copy; 2009&ndash;2016 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
  14. Licensed under the MIT License.
  15. HTML
  16. end
  17. end