浏览代码

Update Python documentation (3.11.0rc2)

Simon Legner 3 年之前
父节点
当前提交
cc8df8aae2
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      lib/docs/scrapers/python.rb

+ 7 - 0
lib/docs/scrapers/python.rb

@@ -21,6 +21,13 @@ module Docs
       Licensed under the PSF License.
     HTML
 
+    version '3.11' do
+      self.release = '3.11.0rc2'
+      self.base_url = "https://docs.python.org/#{self.version}/"
+
+      html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
+    end
+
     version '3.10' do
       self.release = '3.10.7'
       self.base_url = "https://docs.python.org/#{self.version}/"