MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Creative Commons Attribution 4.0 International
1.93k stars 1.55k forks source link

(AB#263698) Fix broken anchor in `Compare-Object` docs #11179

Closed michaeltlombardi closed 3 weeks ago

michaeltlombardi commented 3 weeks ago

PR Summary

Prior to this change, the document used a self-closing anchor tag to enable quick-linking to the third example.

This change updates the anchor to wrap the text Example 3 in the heading, per guidance for the platform. This ensures that the remainder of the page isn't a link to the anchor.

learn-build-service-prod[bot] commented 3 weeks ago

Learn Build status updates of commit c842272:

:warning: Validation status: warnings

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-5.1) Details
reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.2) Details
reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.4) Details
reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.5) Details

reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

learn-build-service-prod[bot] commented 3 weeks ago

Learn Build status updates of commit 12c94cd:

:warning: Validation status: warnings

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-5.1) Details
reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.2) Details
reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.4) Details
reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md :warning:Warning View (powershell-7.5) Details

reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md

reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

learn-build-service-prod[bot] commented 3 weeks ago

Learn Build status updates of commit 1649b81:

:white_check_mark: Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md :white_check_mark:Succeeded View (powershell-5.1)
reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md :white_check_mark:Succeeded View (powershell-7.2)
reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md :white_check_mark:Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md :white_check_mark:Succeeded View (powershell-7.5)

For more details, please refer to the build report.

For any questions, please: