Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[docs-scanner] Broken sentence in environment variables documentation

未关闭 适合新手
#26,385 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@nielskaspers 已经在做这个了。

开始于 2026年10月20日。

  • #26386 来自 @nielskaspers —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
docker, markdown
领域
documentation

调研方向

阅读 content/manuals/compose/how-tos/environment-variables/variable-interpolation.md 第 117 行附近的内容,并查看链接的环境变量优先级页面以了解上下文。修正有问题的句子,使其清楚表达预期的关系,然后确认周围的文字读起来自然。

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

描述

File: content/manuals/compose/how-tos/environment-variables/variable-interpolation.md

Issue

Line 117 contains a broken sentence with missing words and a double space:

Be aware of Environment variables precedence when using variables in an .env file that as environment variables in your container's environment.

The text "that as" (with two spaces) is grammatically incorrect and missing words between "that" and "as".

Why this matters

Readers cannot understand what this sentence is trying to communicate. The missing words make it impossible to determine what relationship is being described between .env file variables and container environment variables.

Suggested fix

The sentence should likely read one of:

  • "when using variables in an .env file that are also used as environment variables in your container's environment"
  • "when using variables in an .env file that serve as environment variables in your container's environment"

The correct phrasing depends on the intended meaning, but either would restore comprehensibility.


Found by nightly documentation quality scanner

主要语言
Markdown
星标
4.7k
派生
8.5k
平均合并
2 天 8 小时
30 天内合并 PR
135

环境准备

从这里开始

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

docker/docs 的其他 Issue

查看 docker/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

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