"latest" links to API docs on HackageDB?
Ross Paterson
ross at soi.city.ac.uk
Tue Nov 11 08:39:50 EST 2008
On Tue, Nov 11, 2008 at 12:12:09PM +0000, Malcolm Wallace wrote:
> HackageDB documentation links for the "latest" version of packages
> appears to be missing. For instance, the haskell.org wiki at
>
> http://www.haskell.org/haskellwiki/Opengl
>
> points to Haddock'ed API documentation at
>
> http://hackage.haskell.org/packages/archive/OpenGL/latest/doc/html/
> http://hackage.haskell.org/packages/archive/GLUT/latest/doc/html/
>
> but there is nothing there (404 not found). Searching around, I
> eventually discovered documentation for specific versions (2.1 and
> 2.2.1.1), but having a simple "latest" link that always works would be
> very useful.
You can get the package page for the latest version (including the
module index to the documentation) with
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/OpenGL
The "latest" links are only needed if you want to link to a module.
More information about the cabal-devel
mailing list