Browse Source

fix correct index

Romeo Van Snick 11 years ago
parent
commit
f4c9b6942d
1 changed files with 2 additions and 2 deletions
  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>