浏览代码

Update Haskell documentation (9.0.1)

Simon Legner 4 年之前
父节点
当前提交
a26a7eb502
共有 4 个文件被更改,包括 7 次插入0 次删除
  1. 6 0
      lib/docs/scrapers/haskell.rb
  2. 二进制
      public/icons/docs/haskell/16.png
  3. 二进制
      public/icons/docs/haskell/16@2x.png
  4. 1 0
      public/icons/docs/haskell/SOURCE

+ 6 - 0
lib/docs/scrapers/haskell.rb

@@ -58,6 +58,12 @@ module Docs
       end
     end
 
+    version '9' do
+      self.release = '9.0.1'
+      self.base_url = "https://downloads.haskell.org/~ghc/#{release}/docs/html/"
+      options[:container] = ->(filter) {filter.subpath.start_with?('users_guide') ? '.document' : '#content'}
+    end
+
     version '8' do
       self.release = '8.10.2'
       self.base_url = "https://downloads.haskell.org/~ghc/#{release}/docs/html/"

二进制
public/icons/docs/haskell/16.png


二进制
public/icons/docs/haskell/16@2x.png


+ 1 - 0
public/icons/docs/haskell/SOURCE

@@ -1 +1,2 @@
+https://www.haskell.org/img/favicon.ico
 http://www.haskell.org/haskellwiki/Thompson-Wheeler_logo