瀏覽代碼

Update Python documentation (3.7.0)

Thibaut Courouble 7 年之前
父節點
當前提交
9c87e451dd
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      lib/docs/scrapers/python.rb

+ 9 - 1
lib/docs/scrapers/python.rb

@@ -23,8 +23,16 @@ module Docs
       Licensed under the PSF License.
     HTML
 
+    version '3.7' do
+      self.release = '3.7.0'
+      self.dir = '/Users/Thibaut/DevDocs/Docs/Python37' # docs.python.org/3.7/download.html
+      self.base_url = 'https://docs.python.org/3.7/'
+
+      html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
+    end
+
     version '3.6' do
-      self.release = '3.6.4'
+      self.release = '3.6.6'
       self.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html
       self.base_url = 'https://docs.python.org/3.6/'