Use definition lists for glossary?
维护者通常 17 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 28/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- html, markdown
调研方向
定位术语表源文件,并检查仓库的 Markdown 处理器或配置,以确定是否支持定义列表语法。将当前标记与提议的
- /
- /
- 形式进行比较,并验证生成的链接和锚点;完成的标准是有一项记录在案的决定,并且如果接受该方案,术语表已完成一致的转换。
由索引模型根据 Issue 内容生成。
描述
Perhaps this is somewhat pedantic, but I wonder whether we should be move from an unordered list of terms to a definition list for the glossary?
This would be more semantically correct and would allow us to avoid manual hard breaks in our current source text, e.g.:
- allocate:\
Dynamic memory allocation on [the heap](memory-management/review.md).
- argument:\
Information that is passed into a function or method.
- associated type:\
A type associated with a specific trait. Useful for defining the relationship
between types.
Unfortunately, it looks as though current markdown processor does not support the extended syntax for dl, dt and dd tags.
That would mean that we would be required to hand-write HTML:
<dl>
<dt>allocate</dt>
<dd>Dynamic memory allocation on <a href="memory-management/review.html">the heap</a>.</dd>
<dt>argument</dt>
<dd>Information that is passed into a function or method.</dd>
<dt>associated type</dt>
<dd>A type associated with a specific trait. Useful for defining the relationship between types.</dd>
…which would unlock the ability to refer to the glossary from other parts of the course.
<dt id="allocate">allocate</dt>
<dd>Dynamic memory allocation on <a href="memory-management/review.html">the heap</a>.</dd>
- 主要语言
- Rust
- 星标
- 33.5k
- 派生
- 2.1k
- 平均合并
- 16 天 20 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/comprehensive-rust 的其他 Issue
-
Graph can be created in safe Rust very well可能已有人在做 @sanjitpawar2007-hue 于 19 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
google/comprehensive-rust#2955 ·
维护者通常 17 天内回复
-
"Calling unsafe functions" example is confusing可能已有人在做 @haranishi 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
google/comprehensive-rust#2733 · 1 个 reaction ·
维护者通常 17 天内回复
-
Binary tree exercise is a binary *search* tree可能已有人在做 @haranishi 于 25 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
google/comprehensive-rust#2732 ·
维护者通常 17 天内回复
-
Minor suggested updates to the Collatz Sequence exercise in section 6.8 and its solution in section 6.8.1可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
google/comprehensive-rust#2636 · 3 条评论 ·
维护者通常 17 天内回复
-
Russian translation: could you add a link?可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 50/100
google/comprehensive-rust#3315 · 1 条评论 ·
维护者通常 17 天内回复
查看 google/comprehensive-rust 的全部 Issue
相似的 Issue
-
A match arm above the largest i64 is compared as 0可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
DioxusLabs/dioxus#6063 ·
维护者通常 1 天内回复
-
`nsh-core` fails to compile when taffy's default `calc` feature is enabled elsewhere in the graph未关闭
难度 2/5 1-3 小时 新手友好度 76/100
longbridge/nsh#966 ·
维护者通常 1 天内回复
-
Windows docs: pin a tested ConPTY version for Kitty graphics; 1.25.260930003 corrupts large uploads未关闭
难度 1/5 1-3 小时 新手友好度 88/100
raphamorim/rio#2021 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
non7top/sigstore-shell#38 ·
维护者通常 1 天内回复