Visitar URL original
Easy navigation from module page back to package page · Issue #306 · commercialhaskell/stackage-server · GitHub
Skip to content

Easy navigation from module page back to package page #306

Open

Description

@brandon-leapyear

It used to be the case that you could:

  1. Go to a package page (e.g. https://www.stackage.org/lts-14.19/package/tasty-1.2.3)
  2. Click on a module (e.g. https://www.stackage.org/haddock/lts-14.19/tasty-1.2.3/Test-Tasty.html)
  3. Click on "Contents" in the top right
  4. Be back on the package page

This is not the case anymore, since LTS 15, I assume due to the upgrade to GHC 8.8. Clicking on "Contents" now takes you to the index.html Haddock page instead of the package page. Given that the above steps work in hackage.haskell.org, I would expect it to be the case on stackage.org, but if the change was intentional, it would be nice to have some other link available to easily navigate back to the package page

Activity

  1. juhp commented on Mar 26, 2021

    @juhp
    Member

    You are right - I am not sure what caused this.
    My first assumption would be maybe something changed in haddock.
    I dunno if upgrading haddock would get the older behavior back
    or if some change or configuration is needed??

    Personally I just go Back in my browser though that only works with step 1 - I agree the old way was useful.

  2. brandon-leapyear commented on Mar 26, 2021

    @brandon-leapyear
    Author
  3. juhp commented on Feb 2, 2025

    @juhp
    Member

    AFAICT this now works - no idea when it got fixed or started working again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions