瀏覽代碼

Update haskell version 8 to 8.10.2

MasterEnoc 5 年之前
父節點
當前提交
09a5f577bf
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lib/docs/scrapers/haskell.rb

+ 4 - 1
lib/docs/scrapers/haskell.rb

@@ -13,6 +13,7 @@ module Docs
     options[:container] = ->(filter) {filter.subpath.start_with?('users_guide') ? '.body' : '#content'}
 
     options[:only_patterns] = [/\Alibraries\//, /\Ausers_guide\//]
+
     options[:skip_patterns] = [
       /-notes/,
       /editing-guide/,
@@ -36,6 +37,7 @@ module Docs
       /Data-Map-Internal\.html\z/i,
       /Data-Sequence-Internal\.html\z/i
     ]
+
     options[:skip] = %w(
       users_guide/license.html
       users_guide/genindex.html
@@ -57,7 +59,7 @@ module Docs
     end
 
     version '8' do
-      self.release = '8.8.3'
+      self.release = '8.10.2'
       self.base_url = "https://downloads.haskell.org/~ghc/#{release}/docs/html/"
     end
 
@@ -75,5 +77,6 @@ module Docs
       versions = links.map {|link| link['href'].scan(/ghc-([0-9.]+)/)}
       versions.find {|version| !version.empty?}[0][0]
     end
+
   end
 end