Issue Description
Comment-based help blocks are placed outside their respective functions, which prevents Get-Help from working correctly.
File: scripts/linting/Markdown-Link-Check.ps1
Lines: 41 and 106
Problem
- Help block for
Get-MarkdownTarget at line 41 is outside the function
- Help block for
Get-RelativePrefix at line 106 is outside the function
Expected Fix
Move each .SYNOPSIS/.DESCRIPTION/.PARAMETER block inside its respective function, immediately after the function declaration.
Impact
- Severity: Low
- Get-Help cmdlet won't display function documentation
- Affects developer experience and maintainability
Source
Identified in PR #26 code review.
Issue Description
Comment-based help blocks are placed outside their respective functions, which prevents Get-Help from working correctly.
File:
scripts/linting/Markdown-Link-Check.ps1Lines: 41 and 106
Problem
Get-MarkdownTargetat line 41 is outside the functionGet-RelativePrefixat line 106 is outside the functionExpected Fix
Move each
.SYNOPSIS/.DESCRIPTION/.PARAMETERblock inside its respective function, immediately after thefunctiondeclaration.Impact
Source
Identified in PR #26 code review.