[docs] Fix inconsistencies in doc/ markdown files

Aperta
#49,888 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
1g 22h
PR unite (30g)
189

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-sdk-for-python

Tutte le issue di Azure/azure-sdk-for-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.