Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy navigation from module page back to package page #306

Open
brandon-leapyear opened this issue Mar 15, 2021 · 2 comments
Open

Easy navigation from module page back to package page #306

brandon-leapyear opened this issue Mar 15, 2021 · 2 comments

Comments

@brandon-leapyear
Copy link

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

@juhp
Copy link
Contributor

juhp commented Mar 26, 2021

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.

@brandon-leapyear
Copy link
Author

brandon-leapyear commented Mar 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants