Display README.lhs if there is no README.md
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- haskell
调研方向
首先跟踪 hackage-server 中针对 README.md 的包选择和渲染行为,然后将其与此处描述的 README.lhs 和 Cabal 打包细节进行比较。当 README.md 不存在时,已打包的 README.lhs 能够被渲染为 Markdown,且无需额外的 extra-files 条目,即表示完成;使用相关的现有测试套件验证该行为。
由索引模型根据 Issue 内容生成。
描述
markdown-unlit treats Markdown files as Literate Haskell, and it recommends using a README.lhs file symlinked from README.md. The README.lhs will already be included in the package due to it being used in a test suite, while the README.md would need to additionally be added via an extra-files entry in the Cabal file.
It would be nice if Hackage rendered the README.lhs as Markdown if no README.md file is included in the package.
The one issue with this is if the README.lhs is in LaTeX or some other format. However, GitHub doesn’t support LaTeX as a README format (and I think the same is true of other software forges), so I think this pattern is unlikely.
This is different from other README requests like #574 and #890 in that it doesn’t require any new rendering, just falling back to a different file name.
Unfortunately, Hackage doesn’t track test-suite dependencies, so it’s hard to tell how widespread this pattern is, but I know at least one package that has a README.lhs without a README.md in the Cabal package that would benefit from this (and I would like to do the same with my own packages).
- 主要语言
- Haskell
- 星标
- 471
- 派生
- 228
- 平均合并
- 5 天 6 小时
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
haskell/hackage-server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 22/100
haskell/hackage-server#1530 · 4 条评论 · 2 个 reaction ·
-
难度 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 ·