[docs] Fix inconsistencies in doc/ markdown files

未关闭
#49,888 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
25/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, python
领域
documentation

调研方向

The five fixes are in doc/dev/mgmt/tests.md, doc/dev/release.md, doc/dev/conda-builds.md, doc/dev/tests.md and doc/eng_sys_checks.md, on branch docs/fix-doc-consistency-issues-5fef17f28efc0c52. Check each claim against eng/scripts/set_checks.py, mgmt_settings_fake.py and eng/pipelines/templates/variables/globals.yml. Done means the diff is verified and a pull request is opened, which currently needs the repository's Actions permission setting enabled.

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

描述

agentic-workflows automated documentation

[!TIP]
Your pull request is ready to create! 🎉 ✅

Everything is OK—the changes have been pushed to branch docs/fix-doc-consistency-issues-5fef17f28efc0c52. Please review the changes, including any protected files, before creating the pull request.

Create the pull request

The original pull request description is below.


Summary

Reviewed all markdown files under doc/ against the current source code and cross-checked them against each other. Fixed five concrete, verified inconsistencies.

Changes

  1. doc/dev/mgmt/tests.md — The instructions for creating mgmt_settings_real.py referenced get_azure_core_credential() and get_credential(), but the actual functions in eng/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py are named get_azure_core_credentials() and get_credentials() (plural). Also replaced a reference to the now nonexistent AzureTestCase class with the current AzureMgmtRecordedTestCase.

  2. doc/dev/release.md — The artifact-naming guidance said the name parameter must use _ in place of -, with an example name: azure_core. Every real ci.yml in the repo (e.g. sdk/core/ci.yml) actually uses hyphens (azure-core), directly contradicting this instruction and its own linked example. Updated the text and example to use hyphens.

  3. doc/dev/conda-builds.md — Referenced eng/conda_env.yml, which doesn't exist. The actual file is conda/conda-recipes/conda_env.yml (confirmed on disk and consistent with sibling docs conda-release.md/conda-release-dev.md).

  4. doc/dev/tests.md — Fixed a list-numbering typo (two occurrences) where the ordered list for AZURE_TEST_USE_*_AUTH environment variables jumped from item 2 straight to item 4, skipping 3.

  5. doc/eng_sys_checks.md — Several stale references:

    • "Python 3.10" updated to "Python 3.11" in four places to match eng/pipelines/templates/variables/globals.yml (PythonVersion: '3.11'), which is the actual source of truth cited by the doc itself.
    • The default PR build set was described as whl, sdist, mindependency, but eng/scripts/set_checks.py currently defines PR_BUILD_SET = ["whl", "sdist"] with mindependency commented out (disabled for CFS onboarding, tracked by issue #48346). Updated the prose and the check-support table to reflect this, with a link to the tracking issue.

All fixes were verified directly against the current repository source (pipeline templates, set_checks.py, mgmt_settings_fake.py, real ci.yml files, and the actual conda/ directory layout) before being applied — no speculative changes were made.

Testing

Documentation-only change; no code/build impact. Verified all edited files still resolve their internal/relative links correctly.


[!NOTE]
GitHub Actions is not permitted to create or approve pull requests in this repository.

The changes have been pushed to branch docs/fix-doc-consistency-issues-5fef17f28efc0c52 and are ready to review.

To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ

Show patch preview (39 of 184 lines)
From dea9c3665fcea20000078ae2f8e8a3fa7e0e5322 Mon Sep 17 00:00:00 2001
X-GH-AW-Base-Commit: ed9fa78ef7b2e550e94da3448cda13a9f84bd58f
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Mon, 9 Nov 2026 04:53:17 +0000
Subject: [PATCH] Fix documentation inconsistencies found in doc/ consistency
 review

- doc/dev/mgmt/tests.md: Rename get_azure_core_credential()/get_credential()
  to get_azure_core_credentials()/get_credentials() to match actual
  function names in mgmt_settings_fake.py; update AzureTestCase (which no
  longer exists) to AzureMgmtRecordedTestCase.
- doc/dev/release.md: Fix artifact name example to use hyphens
  (azure-core) instead of underscores (azure_core), matching every real
  ci.yml in the repo and the doc's own earlier instructions.
- doc/dev/conda-builds.md: Fix path eng/conda_env.yml (does not exist) to
  conda/conda-recipes/conda_env.yml, matching sibling conda docs.
- doc/dev/tests.md: Fix list numbering typo (item 3 numbered as 4) in the
  AZURE_TEST_USE_*_AUTH env var list (two occurrences).
- doc/eng_sys_checks.md: Update stale Python 3.10 references to 3.11 to
  match eng/pipelines/templates/variables/globals.yml; correct default PR
  build set and mindependency check table to reflect it being disabled
  per eng/scripts/set_checks.py (tracked by issue #48346).

Co-authored-by: Copilot <[email protected]>
---
 doc/dev/conda-builds.md |  2 +-
 doc/dev/mgmt/tests.md   | 10 +++++-----
 doc/dev/release.md      |  6 +++---
 doc/dev/tests.md        |  4 ++--
 doc/eng_sys_checks.md   | 12 ++++++------
 5 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/doc/dev/conda-builds.md b/doc/dev/conda-builds.md
index 72e845ce..085e8b34 100644
--- a/doc/dev/conda-builds.md
+++ b/doc/dev/conda-builds.md
@@ -12,7 +12,7 @@ Follow the instructions [here](https://docs.conda.io/projects/conda-build/en/lat
 
 - Update `CondaArtifacts` parameters as necessary within `eng/pipelines/templates/stages
... (truncated)

Generated by Documentation Consistency Check · copilot · sonnet50 · 659.7 AIC · ⌖ 0.702 AIC · ⊞ 5.1K · ◷

主要语言
Python
星标
5.6k
派生
3.4k
平均合并
1 天 22 小时
30 天内合并 PR
189

环境准备

在 Codespaces 中打开

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

从这里开始

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

Azure/azure-sdk-for-python 的其他 Issue

查看 Azure/azure-sdk-for-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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