Opened 3 years ago

Last modified 7 months ago

#7644 new bug

Hackage docs for base library contain broken links

Reported by: JulesBean Owned by: hvr
Priority: normal Milestone: 7.12.1
Component: Documentation Version: 7.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/GHC-IOArray.html

Is a 404, presumably because it's {-# HADDOCK_OPTIONS hide #-} so the haddocks don't get documented?

However it is linked to from the master index

http://hackage.haskell.org/package/base-4.6.0.0

...which as far as I can see has links to all modules irrespective of whether they are hidden or not.

A different example relates to source links:

If you look at the Prelude docs here:

http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/Prelude.html

Then some of the source links point to URLs like

http://hackage.haskell.org/packages/archive/%01/%02/doc/html/src/GHC-Classes.html#Ord

...which looks like some substitution operation has failed (%01 -> package name, %02 -> version, I presume). An attempt to manually fix the package name and version still leads to a 404.

Some other source links from the Prelude are fine, though, for example:

http://hackage.haskell.org/packages/archive/base/4.6.0.0/doc/html/src/GHC-Enum.html#Enum

This is a regression but I don't know how recently; I certainly used to be able to follow links like that back in the 7.0 era, but I don't when it started failing.

Change History (4)

comment:1 Changed 2 years ago by igloo

  • Component changed from Compiler to Documentation
  • difficulty set to Unknown
  • Milestone set to 7.8.1

Thanks for the report. We'll take a look.

comment:2 Changed 16 months ago by hvr

  • Owner set to hvr

I'll pay attention to this when generating & uploading the docs to Hackage for base et al.

comment:3 Changed 15 months ago by thoughtpolice

  • Milestone changed from 7.8.3 to 7.10.1

Moving to 7.10.1

comment:4 Changed 7 months ago by thoughtpolice

  • Milestone changed from 7.10.1 to 7.12.1

Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.

Note: See TracTickets for help on using tickets.