Skip to content

Python: Fix broken links and anchors in sample READMEs - #14377

Open
陈志谦 (simpleqt) wants to merge 1 commit into
microsoft:mainfrom
simpleqt:docs/fix-broken-sample-readme-links
Open

Python: Fix broken links and anchors in sample READMEs#14377
陈志谦 (simpleqt) wants to merge 1 commit into
microsoft:mainfrom
simpleqt:docs/fix-broken-sample-readme-links

Conversation

@simpleqt

Copy link
Copy Markdown

Fixes six broken relative links/anchors across the python sample READMEs (each verified against git ls-files / actual headings; python/samples is excluded from linkspector, which is why CI never caught them):

  • getting_started_with_agents/README.md: step1a_concurrent_structure_output.pystep1a_concurrent_structured_outputs.py, step4a_handoff_structure_input.pystep4a_handoff_structured_inputs.py
  • getting_started_with_agents/azure_ai_agent/README.md: ./step7_azure_ai_agent_retrieval.py./step07_azure_ai_agent_retrieval.py
  • getting_started_with_agents/multi_agent_orchestration/README.md: ../../concepts/structured_output/structured_outputs/
  • concepts/README.md: dropped the Bing bullet (search/bing_text_search_as_plugin.py no longer exists) and repointed the Search heading from the removed connectors/search tree to connectors/search.py
  • getting_started/CONFIGURING_THE_KERNEL.md: anchor #microsoft-entra-token-authentication#azure-authentication (actual heading)

Contribution checklist:

  • The code builds clean locally
  • CLU-specific checks (docs-only change)

- agent samples index: two step filenames had drifted from the actual
  files (structure_output -> structured_outputs, structure_input ->
  structured_inputs)
- azure_ai_agent README: linked step7_... file is step07_... on disk
- multi_agent_orchestration README: concepts/structured_output/ dir is
  structured_outputs/
- concepts README: bing_text_search_as_plugin.py sample no longer
  exists (drop the bullet); the Search heading linked to the removed
  connectors/search directory, now the connectors/search.py module
- CONFIGURING_THE_KERNEL.md: Entra auth anchor renamed, the section is
  now 'Azure Authentication'
Copilot AI lite review requested due to automatic review settings September 4, 2026 15:34
@simpleqt
陈志谦 (simpleqt) requested a review from a team as a code owner September 4, 2026 15:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are documentation-only and the updated links/targets correspond to paths and headings that exist in the repo.

Pull request overview

This PR updates Python sample documentation to repair broken relative links and heading anchors in several sample READMEs/markdown guides, ensuring navigation within python/samples points to files and sections that actually exist.

Changes:

  • Fixes sample links to renamed/zero-padded agent orchestration scripts (step1a_*, step4a_*, step07_*).
  • Updates a concept link from structured_output/ to the correct structured_outputs/ directory.
  • Cleans up the Concepts index by removing a non-existent Bing sample entry and repointing the Search connector reference to connectors/search.py.
  • Corrects a README anchor reference to match the actual “Azure Authentication” heading.
File summaries
File Description
python/samples/getting_started/CONFIGURING_THE_KERNEL.md Updates the concepts README anchor link to the correct “Azure Authentication” section.
python/samples/getting_started_with_agents/README.md Fixes broken sample links to the correct structured outputs/inputs filenames.
python/samples/getting_started_with_agents/multi_agent_orchestration/README.md Corrects the Structured Output concept link to the existing structured_outputs directory.
python/samples/getting_started_with_agents/azure_ai_agent/README.md Fixes the retrieval sample link to the correctly named step07_... file.
python/samples/concepts/README.md Removes a stale Bing sample bullet and updates the Search connector link target.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants