Explorar o código

fix correct index

Romeo Van Snick %!s(int64=11) %!d(string=hai) anos
pai
achega
f4c9b6942d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/docs/scrapers/haskell.rb

+ 2 - 2
lib/docs/scrapers/haskell.rb

@@ -4,7 +4,7 @@ module Docs
     self.slug = 'haskell'
     self.type = 'haskell'
     self.version = '7.8.2'
-    self.base_url = 'http://www.haskell.org/ghc/docs/7.8.2/html/libraries'
+    self.base_url = 'http://www.haskell.org/ghc/docs/7.8.2/html/libraries/'
     self.initial_paths = ['/index.html']
 
     html_filters.push 'haskell/entries'
@@ -13,7 +13,7 @@ module Docs
 
 
     options[:container]     = '#content'
-    options[:skip_patterns] = [/src/, /index/, /haskell2010/]   # skip source listings and index files
+    options[:skip_patterns] = [/src/, /index/, /haskell2010/, /ghc-/, /Cabal-/]   # skip source listings and index files
 
     options[:attribution] = <<-HTML
       &copy; The University Court of the University of Glasgow.<br>