[docs] Fix inconsistencies in doc/ markdown files

Đang mở
#49,888 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python
Lĩnh vực
documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 · ◷

Ngôn ngữ chính
Python
Star
5.6k
Fork
3.4k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
189

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-sdk-for-python

Tất cả issue của Azure/azure-sdk-for-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.