Skip to content

fix: quote ARM endpoint links in help messages - #919

Merged
Hangyi (HangyiWang) merged 2 commits into
Azure:release/1.1.0-previewfrom
HangyiWang:users/hangyiwang/fix-arm-endpoint-help-lint
Oct 6, 2026
Merged

Hangyi (HangyiWang) merged 2 commits into
Azure:release/1.1.0-previewfrom
HangyiWang:users/hangyiwang/fix-arm-endpoint-help-lint

Conversation

@HangyiWang

Copy link
Copy Markdown
Contributor

Format public and canary ARM endpoint URLs as code literals in Hub, DPS, and ADR help so azdev does not treat API roots as documentation links.

No endpoint or command behavior changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 22:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The documentation-only changes consistently address azdev link parsing without altering behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Formats ARM endpoint URLs as code literals so azdev does not interpret API roots as documentation links.

Changes:

  • Updated Hub and DPS help formatting.
  • Updated ADR help formatting for public and canary endpoints.
File Description
azext_iot/​_help.py Formats Hub and DPS canary ARM endpoints as code.
azext_iot/​adr/​_help.py Formats ADR environment variable and ARM endpoints as code.

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

@HangyiWang
Hangyi (HangyiWang) changed the base branch from release/1.0.0-preview to release/1.1.0-preview October 6, 2026 22:54
@HangyiWang Hangyi (HangyiWang) changed the title Fix ARM endpoint links in IoT help fix: quote ARM endpoint links in help messages Oct 6, 2026
@HangyiWang
Hangyi (HangyiWang) merged commit d9f5ce0 into Azure:release/1.1.0-preview Oct 6, 2026
15 checks passed
@HangyiWang
Hangyi (HangyiWang) deleted the users/hangyiwang/fix-arm-endpoint-help-lint branch October 6, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants