You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Hackage generates Haddock documentation for monoidmap-aeson, it:
successfully generates hyperlinks to types and functions in packages such as aeson and monoid-subclasses.
but fails to generate hyperlinks to types and functions from the monoidmap package.
Logs and debugging
Is it possible to inspect logs for haddock generation on hackage? I can see logs here, but can't see an obvious cause for the hyperlink failure. (Though perhaps I'm looking in the wrong place?)
Versions
This has happened for all of the following versions:
I initially assumed that there must be something broken in the monoidmap-aeson package.
However, when I run cabal haddock locally on the same source code, or as part of CI (which uses Haddock version 2.30.0), everything works as expected, and all hyperlinks are generated successfully. 🤷🏻
Expected behaviour
Documentation built by GitHub actions (link) (Haddock version 2.30.0):
Note that symbols like MonoidMap and fromList are successfully hyperlinked.
Note that symbols like ToJSON, encode, and Sum are hyperlinked, but MonoidMap and fromList are not, and yet both of these are exported from the Data.MonoidMap module, as already published on hackage (see monoidmap:Data.MonoidMap).
Workarounds
I know it's possible to upload documentation manually, but I'd like to figure out if there's something I'm doing wrong that is preventing Hackage from successfully generating hyperlinks to monoidmap.
The text was updated successfully, but these errors were encountered:
When Hackage generates Haddock documentation for
monoidmap-aeson
, it:aeson
andmonoid-subclasses
.monoidmap
package.Logs and debugging
Is it possible to inspect logs for haddock generation on hackage? I can see logs here, but can't see an obvious cause for the hyperlink failure. (Though perhaps I'm looking in the wrong place?)
Versions
This has happened for all of the following versions:
monoidmap-aeson-0.0.0.0
monoidmap-aeson-0.0.0.1
monoidmap-aeson-0.0.0.2
monoidmap-aeson-0.0.0.3
I initially assumed that there must be something broken in the
monoidmap-aeson
package.However, when I run
cabal haddock
locally on the same source code, or as part of CI (which uses Haddock version 2.30.0), everything works as expected, and all hyperlinks are generated successfully. 🤷🏻Expected behaviour
Documentation built by GitHub actions (link) (Haddock version 2.30.0):
Note that symbols like
MonoidMap
andfromList
are successfully hyperlinked.Actual behaviour
Documentation built on Hackage (link):
Note that symbols like
ToJSON
,encode
, andSum
are hyperlinked, butMonoidMap
andfromList
are not, and yet both of these are exported from theData.MonoidMap
module, as already published on hackage (seemonoidmap:Data.MonoidMap
).Workarounds
I know it's possible to upload documentation manually, but I'd like to figure out if there's something I'm doing wrong that is preventing Hackage from successfully generating hyperlinks to
monoidmap
.The text was updated successfully, but these errors were encountered: