haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 241 forks source link

No links from packages back to Haddock index #219

Open ghc-mirror opened 10 years ago

ghc-mirror commented 10 years ago

Original reporter: mark+haskell@

(NB: this ticket imported from a haskell platform ticket: http://trac.haskell.org/haskell-platform/ticket/151 )

With the right settings, Haddock generates a master package index that shows the modules for all installed packages and lets you navigate to them. Once you do so, however, there is no way to navigate back to the package index again. It would be nice if we could fix this.

HP 2010.2.0.0 (and previous version).

(Not sure if the version of haddock is correct in this ticket)

ghc-mirror commented 10 years ago

Original reporter: mail@

Probably easy, just pass the url to the index when running haddock.

Probably hard, because there can be a n-to-m relationship between indexes and packages: E.g. on Debian, system libraries will show up both on /usr/share/doc/ghc-doc/html/libraries/index.html and on ~/.cabal/share/doc/index.html – which should it link back to?