Post-GHC 9.6.7, links between GHC boot packages fail in Haddock documentation

未关闭
#6,807 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
haskell

调研方向

将 GHC 9.6.7 和 GHC 9.10.3 的 Haddock 库目录与 issue 中描述的相应 .stack-work\install\...\doc 布局进行比较。追踪 Stack 如何映射 GHC 随附软件包的文档路径,并通过检查 GHC 随附软件包的 Haddock 页面之间的链接是否能在两种文件夹命名方案下解析,来验证实现是否完整。

由索引模型根据 Issue 内容生成。

描述

Context:

On Windows, GHC 9.6.7 provides HTML files for Haddock documentation of GHC boot packages in folders like:

  • ... \ghc-9.6.7\doc\html\libraries\base-4.18.3.0

Subsequently, GHC provides those files in folders like (e.g. GHC 9.10.3):

  • ...\ghc-9.10.3\doc\html\libraries\base-4.20.2.0-39f9

Stack is unware of this change and in .stack-work\install\ ... \doc continues to have folders named after GHC boot package name-version (not id/key).

This situation results in duff links between GHC boot packages in Haddock documentation.

主要语言
Haskell
星标
4.1k
派生
857
平均合并
17 小时 32 分钟
30 天内合并 PR
5

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

commercialhaskell/stack 的其他 Issue

查看 commercialhaskell/stack 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。