Missing hyperlinks to types and functions in external packages (Haddock on Hackage).
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- haskell
- Ambito
- documentation
Direzione di ricerca
Inizia con i report collegati su Hackage per monoidmap-aeson e confrontali con le build locali e quelle di GitHub Actions usando Haddock 2.30.0. Esamina come Hackage genera i link alla documentazione per monoidmap rispetto a aeson e monoid-subclasses. Il lavoro è completato quando è stata identificata la causa dei link mancanti ed è stato documentato o implementato un fix in modo che MonoidMap e fromList siano collegati correttamente su Hackage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When Hackage generates Haddock documentation for monoidmap-aeson, it:
- successfully generates hyperlinks to types and functions in packages such as
aesonandmonoid-subclasses. - but fails to generate hyperlinks to types and functions from the
monoidmappackage.
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.
Actual behaviour
Documentation built on Hackage (link):
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.
- Lingua principale
- Haskell
- Stelle
- 471
- Fork
- 228
- Merge medio
- 5g 6h
- PR unite (30g)
- 3
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di haskell/hackage-server
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 22/100
haskell/hackage-server#1530 · 4 commenti · 2 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
haskell/hackage-server#1528 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
haskell/hackage-server#1523 ·
-
Count downloads from content delivery networkForse già presa @LaurentRDC l’ha presa 60 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
haskell/hackage-server#1517 · 1 commento ·
-
hackage-mirror can't mirror old packagesForse già presa @TTyChud l’ha presa 7 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
haskell/hackage-server#1515 ·
Tutte le issue di haskell/hackage-server
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
haskell/bytestring#730 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
seal-harness/seal-harness#399 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
fmidue/codeworld-tasks#124 ·
-
allow haskell-src-exts-1.24Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
reflex-frp/reflex#563 ·