[GHC] #10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries"

#10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries" -------------------------------------+------------------------------------- Reporter: pgj | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.10.2 Component: | Version: 7.10.1-rc1 Documentation | Operating System: Unknown/Multiple Keywords: | Type of failure: Documentation Architecture: | bug Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- This was originally spotted and [https://mail.haskell.org/pipermail/ghc- devs/2015-February/008407.html posted to the ghc-devs mailing list] by Joachmin Breitner, but apparently since nobody has submitted a ticket for this relatively serious issue, here it is. I am quoting Joachim: {{{ while the index at http://haskell.inf.elte.hu/docs/7.11.20150222.noWin32/html/libraries/index.h... exists, navigating to http://haskell.inf.elte.hu/docs/7.11.20150222.noWin32/html/libraries/Data- Char.html yields a 404 error. Same for http://haskell.inf.elte.hu/docs/latest/html/libraries/Data-Char.html }}} And [https://mail.haskell.org/pipermail/ghc-devs/2015-February/008408.html I have replied] the following to his initial email (I am involved in this because I am doing daily snapshots of the documentation through my FreeBSD GHC builders): {{{ Yes, I can confirm this bug. For what it is worth, the files are all there, the link appears to be broken: it is missing the subdirectory with the name of the package. That is, the proper link should be something like that: http://haskell.inf.elte.hu/docs/7.9.20141222.noWin32/html/libraries/base-4.8... /Data-Char.html (Note the missing "base-4.8.0.0".) I have checked this with GHC 7.8.3, and everything is right there, while this problem seems to appear with GHC 7.10 RC2 and GHC-HEAD (starting from somewhere between mid-September and November -- that is what a quick bisecting tells me). }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10206 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries" -------------------------------------+------------------------------------- Reporter: pgj | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.10.2 Component: Documentation | Version: 7.10.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by carter): I'm seeing the same problem with userland haddocks wrt the haddock index.html file :( glad to see this is on the plate for 7.10.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10206#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries" -------------------------------------+------------------------------------- Reporter: pgj | Owner: Type: bug | thoughtpolice Priority: highest | Status: new Component: Documentation | Milestone: 7.10.2 Resolution: | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Documentation | Architecture: bug | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * owner: => thoughtpolice -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10206#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries" -------------------------------------+------------------------------------- Reporter: pgj | Owner: Type: bug | thoughtpolice Priority: highest | Status: upstream Component: Documentation | Milestone: 7.10.2 Resolution: | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Documentation | Architecture: bug | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by hvr): * status: new => upstream Comment: Upstream-tracked at https://github.com/haskell/haddock/issues/385 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10206#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10206: Incorrect links are generated for modules in the index of "Haskell
Hiearchical Libraries"
-------------------------------------+-------------------------------------
Reporter: pgj | Owner:
Type: bug | thoughtpolice
Priority: highest | Status: upstream
Component: Documentation | Milestone: 7.10.2
Resolution: | Version: 7.10.1-rc1
Operating System: Unknown/Multiple | Keywords:
Type of failure: Documentation | Architecture:
bug | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#10206: Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries" -------------------------------------+------------------------------------- Reporter: pgj | Owner: Type: bug | thoughtpolice Priority: highest | Status: closed Component: Documentation | Milestone: 7.10.2 Resolution: fixed | Version: 7.10.1-rc1 Operating System: Unknown/Multiple | Keywords: Type of failure: Documentation | Architecture: bug | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: upstream => closed * resolution: => fixed Comment: OK, upstream fix merged into `ghc-head/master` on the haddock repository, and merged into `master/ghc-7.10` for us. Closing. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10206#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC