Missing hyperlinks to types and functions in external packages (Haddock on Hackage).
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- haskell
調査の方向性
monoidmap-aeson にリンクされている Hackage のレポートから始め、Haddock 2.30.0 を使ったローカルビルドおよび GitHub Actions のビルドと比較してください。Hackage が monoidmap のドキュメントリンクを aeson および monoid-subclasses と比較してどのように生成しているかを調査してください。MonoidMap と fromList が Hackage 上で正しくリンクされるように、リンクが欠落する原因を特定し、修正を文書化または実装できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Haskell
- スター
- 471
- フォーク
- 228
- 平均マージ
- 5日 6時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell/hackage-server のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 22/100
haskell/hackage-server#1530 · コメント 4 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
haskell/hackage-server#1528 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
haskell/hackage-server#1523 ·
-
Count downloads from content delivery network対応中かも @LaurentRDC が 60 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
haskell/hackage-server#1517 · コメント 1 件 ·
-
hackage-mirror can't mirror old packages対応中かも @TTyChud が 7 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
haskell/hackage-server#1515 ·
haskell/hackage-server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
haskell/bytestring#730 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
seal-harness/seal-harness#399 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
fmidue/codeworld-tasks#124 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
reflex-frp/reflex#563 ·