Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Don't show 'QuickJump' button in header if not present #783

Closed
alexbiehl opened this issue Mar 21, 2018 · 0 comments
Closed

Don't show 'QuickJump' button in header if not present #783

alexbiehl opened this issue Mar 21, 2018 · 0 comments

Comments

@alexbiehl
Copy link
Member

We always show the QJ button even if the package wasn't generated with --quickjump flag. This is confusing!

bildschirmfoto 2018-03-21 um 11 06 25

mpilgrem added a commit to mpilgrem/haddock that referenced this issue Nov 10, 2019
In the TypeScript `init.ts`, makes `quickJump.init()` (which creates the button) conditional on the presence of meta tag `hasQuickJump` with content `"true"`.

In the Haskell, threads the `withQuickJump` flag result through to `headHtml` to create the meta tag, accordingly.
mpilgrem added a commit to mpilgrem/haddock that referenced this issue Nov 13, 2019
mpilgrem added a commit to mpilgrem/haddock that referenced this issue Nov 13, 2019
mpilgrem added a commit to mpilgrem/haddock that referenced this issue Mar 24, 2020
mpilgrem added a commit to mpilgrem/haddock that referenced this issue Jan 15, 2021
emilypi pushed a commit to mpilgrem/haddock that referenced this issue Jun 6, 2022
mpilgrem added a commit to mpilgrem/haddock that referenced this issue Jun 12, 2022
@mergify mergify bot closed this as completed in 3ab18cf Jun 13, 2022
mergify bot added a commit that referenced this issue Jun 13, 2022
Fix #783 Don't show button if --quickjump not present
mpickering added a commit that referenced this issue Aug 16, 2022
This reverts commit 3ab18cf.

This commit breaks the quickjump functionality on `hackage.haskell.org`.

See https://gitlab.haskell.org/ghc/ghc/-/issues/21984
bgamari pushed a commit that referenced this issue Aug 20, 2022
This reverts commit 3ab18cf.

This commit breaks the quickjump functionality on `hackage.haskell.org`.

See https://gitlab.haskell.org/ghc/ghc/-/issues/21984
bgamari pushed a commit that referenced this issue Aug 7, 2023
This reverts commit 3ab18cf.

This commit breaks the quickjump functionality on `hackage.haskell.org`.

See https://gitlab.haskell.org/ghc/ghc/-/issues/21984
bgamari pushed a commit that referenced this issue Oct 7, 2023
This reverts commit 3ab18cf.

This commit breaks the quickjump functionality on `hackage.haskell.org`.

See https://gitlab.haskell.org/ghc/ghc/-/issues/21984
hubot pushed a commit to ghc/ghc that referenced this issue May 17, 2024
Fix haskell/haddock#783 Don't show button if --quickjump not present
hubot pushed a commit to ghc/ghc that referenced this issue May 24, 2024
hubot pushed a commit to ghc/ghc that referenced this issue May 24, 2024
hubot pushed a commit to ghc/ghc that referenced this issue May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant