-
Notifications
You must be signed in to change notification settings - Fork 242
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
Expander/collapser ids can conflict to easily #953
Comments
@sjakobi This is what is causing the example section of |
This fixes haskell#953 by passing more names into the generated ids.
This fixes #953 by passing more names into the generated ids.
I think I just got bitten by this: https://hackage.haskell.org/package/generic-data-0.8.0.0/docs/Generic-Data.html#t:FiniteEnum The "Details" link expands an Example link down below instead.
|
Hackage documentation is regenerated every time a package is uploaded. However, haddock on the builder is uploaded significantly less frequently. I suspect it hasn't happened since this was fixed. I can check whether I still have permission to do so and will update it if so. |
This fixes #953 by passing more names into the generated ids.
This fixes haskell/haddock#953 by passing more names into the generated ids.
We do some work to generate HTML id's in a deterministic fashion. However, we're not trying hard enough to make them unique. Here's an example:
It is impossible to expand the first example section (clicking on the plus expands the second section!) because the two generated HTML elements are given the same
ch:noid:0
id.The text was updated successfully, but these errors were encountered: