Просмотр исходного кода

Update Python documentation (3.6.0, 3.5.2, 2.7.12)

Thibaut Courouble 9 лет назад
Родитель
Сommit
4c451b8575
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      lib/docs/scrapers/python.rb

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

@@ -19,6 +19,14 @@ module Docs
       Licensed under the PSF License.
     HTML
 
+    version '3.6' do
+      self.release = '3.6.0'
+      self.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html
+      self.base_url = 'https://docs.python.org/3.6/'
+
+      html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
+    end
+
     version '3.5' do
       self.release = '3.5.2'
       self.dir = '/Users/Thibaut/DevDocs/Docs/Python35' # docs.python.org/3.5/download.html