id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4026	library documentation has unstable URLs	duncan		"Currently google is returning URLs for ghc libraries that return 404, eg:
http://haskell.org/ghc/docs/latest/html/libraries/base-4.2.0.0/Data-List.html

The new URL is with `base-4.2.0.1` rather than `base-4.2.0.0`.

This is not google's fault, it is our fault. We are using unstable URLs. Of course, we cannot guarantee full stability as modules get added/removed however we can do much better than breaking all URLs every time.

I suggest we have two sets of stable URLs, versioned URLs and ""latest""/unversioned URLs:

{{{
/ghc/docs/6.12.1/html/libraries/base-4.2.0.0/Data-List.html

/ghc/docs/latest/html/libraries/base/Data-List.html
}}}

This will either mean generating them separately so that links between packages work, or using redirects such as:
{{{
/ghc/docs/latest/html/libraries/base-4.2.0.1/
->
/ghc/docs/latest/html/libraries/base/
}}}
so that we can generate the docs once and use them at both the ""latest"" and ghc-versioned locations."	bug	closed	normal		Documentation	6.12.2	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown					
