[Hackage] #760: exclude all but latest documentation from search results

Hackage cvs-ghc at haskell.org
Thu Nov 4 14:15:38 EDT 2010


#760: exclude all but latest documentation from search results
--------------------------------+-------------------------------------------
  Reporter:  warren             |        Owner:         
      Type:  enhancement        |       Status:  new    
  Priority:  normal             |    Milestone:         
 Component:  hackageDB website  |      Version:  1.8.0.6
  Severity:  normal             |     Keywords:         
Difficulty:  unknown            |   Ghcversion:         
  Platform:                     |  
--------------------------------+-------------------------------------------
 When searching for haskell documentation on google, quite frequently the
 top search results are versions of the library documentation from the
 archives. For instance, when searching for Data.Vector, the top hit is
 version 0.5, whereas the latest is 0.7. Also, if the user selects the 0.7
 version, it isn't obvious from the documentation that this version
 corresponds to the latest since it also appears in the archive (the url is
 http://hackage.haskell.org/packages/archive/vector/0.7/doc/html/Data-
 Vector.html).

 So I'm wondering if it might not make sense to exclude all but the latest
 haddock documentation from search results by augmenting the robots.txt
 file.

 It might also make sense to provide alternate urls to the latest versions
 of documents. E.g. Starting from the
 http://hackage.haskell.org/package/vector page (which is the latest
 version), and clicking on Data.Vector, one is taken to
 http://hackage.haskell.org/packages/archive/vector/0.7/doc/html/Data-
 Vector.html... but it might be better if this were
 http://hackage.haskell.org/packages/current/vector/doc/html/Data-
 Vector.html. This would allow for all files under /archive to be excluded.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/760>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list