Browse Source

Update Julia documentation (1.11.2)

Simon Legner 1 year ago
parent
commit
9a2cab3050
1 changed files with 13 additions and 2 deletions
  1. 13 2
      lib/docs/scrapers/julia.rb

+ 13 - 2
lib/docs/scrapers/julia.rb

@@ -7,12 +7,23 @@ module Docs
 
 
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 2009&ndash;2023 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
+      &copy; 2009&ndash;2024 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
       Licensed under the MIT License.
       Licensed under the MIT License.
     HTML
     HTML
 
 
+    version '1.11' do
+      self.release = '1.11.2'
+      self.base_url = "https://docs.julialang.org/en/v#{version}/"
+      self.type = 'julia'
+
+      html_filters.push 'julia/entries', 'julia/clean_html'
+
+      options[:container] = '.docs-main'
+      options[:only_patterns] = [/\Amanual\//, /\Abase\//, /\Astdlib\//]
+    end
+
     version '1.10' do
     version '1.10' do
-      self.release = '1.10.0.2'
+      self.release = '1.10.7'
       self.base_url = "https://docs.julialang.org/en/v#{version}/"
       self.base_url = "https://docs.julialang.org/en/v#{version}/"
       self.type = 'julia'
       self.type = 'julia'