浏览代码

Update Julia documentation (1.9.2)

Simon Legner 2 年之前
父节点
当前提交
7451ba21eb
共有 1 个文件被更改,包括 12 次插入1 次删除
  1. 12 1
      lib/docs/scrapers/julia.rb

+ 12 - 1
lib/docs/scrapers/julia.rb

@@ -7,10 +7,21 @@ module Docs
 
 
     options[:attribution] = <<-HTML
-      &copy; 2009&ndash;2022 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
+      &copy; 2009&ndash;2023 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors<br>
       Licensed under the MIT License.
     HTML
 
+    version '1.9' do
+      self.release = '1.9.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.8' do
       self.release = '1.8.5'
       self.base_url = "https://docs.julialang.org/en/v#{version}/"