Ticket #274 (new defect)

Opened 7 months ago

Last modified 7 months ago

Frames broken when using separate contents page

Reported by: duncan Owned by:
Priority: major Milestone:
Version: 2.13.2.1 Keywords:
Cc:

Description

The frames view for the docs on hackage has been broken since forever. In the past what we've done is just disable the frames view. The other alternative would be to fix it.

The symptom is that the index-frames.html file is missing, and of course that's one of the pages used in a sub-frame (top left).

I think that what is happening is that we call cabal haddock --contents-location=URL which calls haddock with --use-contents=URL, and then haddock does not create index.html (as that's not used) but then also omits the index-frames.html file.

So if that's right then the solution is to adjust the logic so that it only omits generation of index.html and does not omit index-frames.html.

That said, we're not sure we actually want the frames view on hackage, so an alternative feature request is for a --no-frames flag, that excludes that. Currently we have to hack the .js file to not add the frames link.

Change History

Changed 7 months ago by Fūzetsu

  • version changed from 2.11.0 to 2.13.2.1

Re: no-frames, that's #114 and should be fixed separately.

Thanks for reporting.

Note: See TracTickets for help on using tickets.