⚙️ [Maintenance]: Public help-link checks now support any HTTPS host - #532
Merged
Marius Storhaug (MariusStorhaug) merged 8 commits intoSep 4, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
September 4, 2026 17:49
Marius Storhaug (MariusStorhaug)
requested a review
from a team
as a code owner
September 4, 2026 17:49
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Marius Storhaug (MariusStorhaug)
deleted the
document-grouped-help-urls
branch
September 4, 2026 18:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Public command help-link validation now works with any HTTPS documentation host while preserving the required module and function path structure. Repositories can publish their command reference outside the PSModule documentation site without weakening the canonical URL contract.
Changed: Public help-link validation
Every public function must provide a first
.LINKentry. The test fails immediately when no.LINKsection is found. When a link is present, it must be an absolute HTTPS URL with a host and the canonical/Module/Functions/<relative-command>/path; query strings and fragments are rejected.The PowerShell module standard, framework-test reference, pre-review validation checklist, module-structuring guide, and skip-test guide now document this requirement using a configurable HTTPS documentation host.
Technical details
.github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Tests.ps1to require a link, then parse the first.LINKURI and validate its scheme, host, path, query, and fragment instead of comparing against a hardcodedpsmodule.ioorigin.https://docs.example.com, proving the test does not depend on the PSModule host.PublicHelpLinkindocs/content/reference/powershell-module-standard.mdanddocs/content/reference/framework-test-ids.md.docs/content/guides/validating-before-review.mdand replaced fixed-host examples in the structuring and skip-test guides with<DocumentationHost>.tests/srcTestRepoandtests/srcWithManifestTestRepo;zensical build --strictandgit diff --checkpassed..github/actions/Test-PSModule/**(PowerShell)tests/**(PowerShell fixtures)docs/content/reference/**anddocs/content/guides/**(Markdown)Issue convergence sweep: scoped to reusable public help-link validation and its contributor guidance. This change does not generate missing links during scaffolding or build, so the broader follow-up remains open.
Relevant issues (or links)
Related work