From f4c9b6942d6e87e4dacfc6a0c34d9db569510cdb Mon Sep 17 00:00:00 2001 From: Romeo Van Snick Date: Sat, 24 May 2014 19:34:30 +0200 Subject: [PATCH] fix correct index --- lib/docs/scrapers/haskell.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docs/scrapers/haskell.rb b/lib/docs/scrapers/haskell.rb index 7692f8a6..9fbb7af0 100755 --- a/lib/docs/scrapers/haskell.rb +++ b/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 © The University Court of the University of Glasgow.