[docs] Fix inconsistencies in doc/ markdown files

Offen
#49,888 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
25/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, python
Bereich
documentation

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
189

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Azure/azure-sdk-for-python

Alle Issues in Azure/azure-sdk-for-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.