Преглед изворни кода

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.
       Licensed under the PSF License.
     HTML
     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
     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.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html
       self.base_url = 'https://docs.python.org/3.6/'
       self.base_url = 'https://docs.python.org/3.6/'