Opened 3 years ago

Closed 3 years ago

#9154 closed bug (fixed)

Links to Cabal documentation from the user guide are broken

Reported by: etrepum Owned by:
Priority: normal Milestone: 7.10.1
Component: Documentation Version: 7.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


At there are two broken links to Cabal documentation, there's also a broken absolute link to the same place from the haddock documentation.

$ find ./share/doc/ghc -name "*.html" -exec grep -H "Cabal/index.html" {} \;
./share/doc/ghc/html/haddock/invoking.html:    tool <a class="ulink" href="" target="_top">Cabal</a>
./share/doc/ghc/html/users_guide/packages.html:    <a class="ulink" href="../Cabal/index.html" target="_top">Cabal documentation</a>
./share/doc/ghc/html/users_guide/packages.html:      <a class="ulink" href="../Cabal/index.html" target="_top">Cabal</a> infrastructure

I suppose the right place for all of these links is probably ?

Attachments (1)

0001-Use-absolute-links-to-Cabal-docs-from-the-GHC-users-.patch (1.6 KB) - added by etrepum 3 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by etrepum

0001-Use-absolute-links-to-Cabal-docs-from-the-GHC-users-.patch only updates the GHC users guide, does not fix the issue with haddock's documentation.

comment:2 Changed 3 years ago by thomie

Status: newpatch

comment:3 Changed 3 years ago by Austin Seipp <austin@…>

In e3c3586d717e6f1eb0e80f25b29a16de6c0f6d5c/ghc:

Use absolute links to Cabal docs from the GHC users guide (#9154)

Signed-off-by: Austin Seipp <>

comment:4 Changed 3 years ago by thoughtpolice

Milestone: 7.10.1
Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.