[docs] docs: fix stale references and broken links in doc/
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 20/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
Review the six listed files under doc/dev/, then compare their links and references with the named source files, including eng/tools/azure-sdk-tools/azpysdk/changelog.py. Verify that referenced files, anchors, version names, and changelog commands match the current repository, with no stale or broken references remaining.
Written by the indexing model from the issue text.
Description
[!TIP]
Your pull request is ready to create! 🎉 ✅Everything is OK—the changes have been pushed to branch
docs/fix-doc-consistency-issues-6d40b3307fc2fa8e. Please review the changes, including any protected files, before creating the pull request.The original pull request description is below.
This PR fixes several documentation inconsistencies found under doc/ where instructions or links no longer matched the current source code / repository structure.
Changes
doc/dev/mgmt/tests.md— The sampleconftest.pylink pointed tosdk/advisor/azure-mgmt-advisor/tests/conftest.py, which no longer exists. Replaced with an existing example (sdk/monitor/azure-mgmt-monitor/tests/conftest.py).doc/dev/mgmt/mgmt_release.md— Referenced the version file asversion.py; the generated file is actually named_version.py(leading underscore) across all mgmt packages. Fixed the path.doc/dev/customize_long_running_operation.md— Several GitHub line-number anchors intobase_polling.py/async_base_polling.pywere stale after the source file changed (e.g.OperationResourcePollingmoved from line 178 to 311,LROBasePollingfrom 357 to 896, etc.). Updated all six anchors to the current line numbers.doc/dev/package_version/package_version_rule.md— Example links were pinned to old commit SHAs pointing at files that no longer exist (_network_management_client.pywas renamed to_client.py). Replaced with a current, non-pinned link to a package (kubernetesconfiguration) that still exposesDEFAULT_API_VERSIONin its current form.doc/dev/code_snippets.md— Theasynciosnippet example line reference (#L63-L68) was off by one compared to the actual markers intest_example_async.py(#L64-L69). Fixed.doc/dev/changelog_updates.md— The doc only documented rawnpx chronus ...commands. Added a note about theazpysdk changelogwrapper (add/verify/create/status), which is implemented ineng/tools/azure-sdk-tools/azpysdk/changelog.pyand is the standard CLI entry point used elsewhere in the docs.
Verification
Each change was verified directly against the current repository source (file existence, class/line locations in azure-core's polling module, _version.py naming convention across mgmt packages, and the azpysdk changelog subcommands in changelog.py).
No broken markdown links, stale tox/setup.py-as-primary-workflow references, or other major contradictions were found in the remaining doc/ files during this review.
[!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-6d40b3307fc2fa8eand 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 136 lines)
From ab9d1f84a34b8f14525a5f79aff3ee22af734ae2 Mon Sep 17 00:00:00 2001
X-GH-AW-Base-Commit: 7d22d071f0ac60c50644c3ac32a1471bdcf64cbb
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Tue, 22 Sep 2026 22:42:08 +0000
Subject: [PATCH] docs: fix stale references and broken links under doc/
- mgmt/tests.md: replace broken conftest.py link (azure-mgmt-advisor no
longer has a tests/conftest.py) with an existing example
(azure-mgmt-monitor).
- mgmt/mgmt_release.md: correct version file name from version.py to
_version.py, matching the actual generated file name.
- customize_long_running_operation.md: update stale GitHub line-number
anchors for polling classes in base_polling.py/async_base_polling.py
to their current locations.
- package_version/package_version_rule.md: replace broken commit-pinned
links (network package's _network_management_client.py no longer
exists, renamed to _client.py) with current, non-pinned links using a
package that still exposes DEFAULT_API_VERSION.
- code_snippets.md: fix off-by-one line reference for the asyncio
snippet example in test_example_async.py.
- changelog_updates.md: mention the azpysdk changelog wrapper
(add/verify/create/status) alongside raw npx chronus usage, since
azpysdk is the documented standard CLI entrypoint elsewhere in the
docs.
Co-authored-by: Copilot <[email protected]>
---
doc/dev/changelog_updates.md | 2 ++
doc/dev/code_snippets.md | 2 +-
doc/dev/customize_long_running_operation.md | 12 ++++++------
doc/dev/mgmt/mgmt_release.md | 2 +-
doc/dev/mgmt/tests.md | 2 +-
doc/dev/package_version/package_version_rule.md | 6 +++---
6 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/doc/dev/changelog_updates.md b/doc/dev/changelog_updates.md
index 21515eb59f..ec78adc32e 100644
--- a/doc/dev/changelog_updates.md
+++ b/doc/dev/changelog_
... (truncated)
[!WARNING]
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:network: allowed: - defaults - "github.com"See Network Configuration for more information.
Generated by Documentation Consistency Check · copilot · sonnet50 · 208.2 AIC · ⌖ 8.63 AIC · ⊞ 7.7K · ◷
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 189
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-sdk-for-python
-
needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Azure/azure-sdk-for-python#50155 · 1 reaction ·
Maintainers usually reply within 1 day
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaroundPossibly taken @jianingwang123 claimed this 16 days ago. Openneeds-triage
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
Azure/azure-sdk-for-python#49886 · 1 comment · 2 reactions · 2 assignees ·
Maintainers usually reply within 1 day
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampledPossibly taken @14H034160212 claimed this 19 days ago. OpenAI Projects Client customer-reported question
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Azure/azure-sdk-for-python#49854 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointedPossibly taken @hidingmyname claimed this 27 days ago. OpenClient customer-reported Event Hubs needs-team-attention question Service Attention
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Azure/azure-sdk-for-python#49723 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formattingPossibly taken A pull request linked to this issue is open or already merged. OpenEngSys
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Azure/azure-sdk-for-python#49614 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
All issues in Azure/azure-sdk-for-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vllm-project/vllm#70030 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TigreGotico/tugaphone#408 ·
Maintainers usually reply within 1 day
-
t: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug (unverified)
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
scikit-hep/awkward#4581 · 1 comment ·
Maintainers usually reply within 1 day