Skip to content

docs: Wire HelpLinkUri and expand migration documentation#18

Merged
vbreuss merged 2 commits into
mainfrom
feat/phase-5.6.1-docs-site-integration
May 15, 2026
Merged

docs: Wire HelpLinkUri and expand migration documentation#18
vbreuss merged 2 commits into
mainfrom
feat/phase-5.6.1-docs-site-integration

Conversation

@vbreuss
Copy link
Copy Markdown
Member

@vbreuss vbreuss commented May 15, 2026

This pull request introduces documentation and usability improvements for the migration analyzer package, clarifies installation and workflow, and updates links to the new documentation site. The most important changes are grouped below.

Documentation and User Guidance Improvements:

  • Expanded the README.md with a detailed migration workflow, explicit instructions for referencing both the migration and target packages, and tables outlining supported and manual-review migration patterns. Added sections on suppressing diagnostics and clarified that the migration package is a development-only tool.
  • Added a new documentation page (00-index.md) for the migration package, including a NuGet badge and a summary of its purpose.

Links and Metadata Updates:

  • Updated the documentation and package URLs to use the new path (Abstractions/Migration) instead of the old one (Testably.Abstractions/Migration) in both MSBuild properties and analyzer help links.

CI/CD Workflow Maintenance:

  • Updated the GitHub Actions workflow to use peter-evans/repository-dispatch@v4 for dispatching documentation update events, ensuring continued compatibility and support.

vbreuss added 2 commits May 15, 2026 12:33
Set `helpLinkUri` on `Rules.SystemIOAbstractionsRule` to the package's
docs URL so IDE "Show help" actions land on a useful page. The URL
matches the `PackageProjectUrl` already declared in
`Source/Directory.Build.props`.

Expand the README to document the dev-only meta-package workflow
(install → migrate → uninstall) and the explicit requirement to
reference `Testably.Abstractions.Testing` directly so migrated tests
keep compiling after the migration package is removed. Add tables
covering the supported automatic rewrites and the manual-review
patterns flagged by `TestablyM001`. The README is the docs source: the
release pipeline copies it into the package and the `notify-docs-site`
workflow rebuilds the docs site from it.

Add `Docs/pages/00-index.md` so the Testably docs site has an entry
page that templates the README, mirroring the convention used by
`Mockolate.Migration`.

Tests unchanged: 114 main + 40 playground + 2 example = 156.
Switch the `PackageProjectUrl` and `HelpLinkUri` from
`docs.testably.org/Testably.Abstractions/Migration` to
`docs.testably.org/Abstractions/Migration` to match how the docs site
actually serves Testably.Abstractions content: every slice in
`Testably.Site/Pipeline/Build.Pages.cs` lands under a target
subdirectory without the `Testably.` prefix (`Abstractions`, not
`Testably.Abstractions`). A companion change in Testably.Site adds the
migration repo as a slice at `docs/Abstractions/Migration` with
`InlineReadme: true`, which inlines the README into the
`Docs/pages/00-index.md` placeholder added in Phase 5.6.

Bump `peter-evans/repository-dispatch` in `notify-docs-site.yml` from
v3 to v4 to align with sibling repos (Mockolate.Migration) so the
docs rebuild dispatch uses the same action version everywhere.
@vbreuss vbreuss self-assigned this May 15, 2026
Copilot AI review requested due to automatic review settings May 15, 2026 11:41
@vbreuss vbreuss added the documentation Improvements or additions to documentation label May 15, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 15, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the migration tool’s developer experience by wiring analyzer diagnostics to the hosted migration documentation and expanding/structuring the migration docs for clearer guidance.

Changes:

  • Add helpLinkUri to the analyzer diagnostic descriptor to point users to the migration docs.
  • Expand README.md with a recommended workflow, supported migrations, and a manual-review list.
  • Align docs URLs and add a docs landing page; bump docs-site notification workflow dependency.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Source/Testably.Abstractions.Migration.Analyzers/Rules.cs Adds a documentation base URL and wires it into DiagnosticDescriptor.helpLinkUri.
Source/Directory.Build.props Updates PackageProjectUrl to the new docs location.
README.md Significantly expands migration guidance, supported patterns, and suppression instructions.
Docs/pages/00-index.md Adds a docs landing page that pulls in the README content.
.github/workflows/notify-docs-site.yml Updates peter-evans/repository-dispatch from v3 to v4.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

Test Results

  6 files  ±0    6 suites  ±0   1m 26s ⏱️ -2s
154 tests ±0  154 ✅ ±0  0 💤 ±0  0 ❌ ±0 
462 runs  ±0  460 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit b3dd5cb. ± Comparison against base commit 5edea25.

@vbreuss vbreuss merged commit a6bf522 into main May 15, 2026
13 checks passed
@vbreuss vbreuss deleted the feat/phase-5.6.1-docs-site-integration branch May 15, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants