Enhance HyperLink component documentation and optimize CI workflows#306
Enhance HyperLink component documentation and optimize CI workflows#306csharpfritz merged 5 commits intodevfrom
Conversation
Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com>
Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com>
|
@copilot Let's also update the GitHub actions for building, testing and deploying to only build and test when there are changes to the .NET code. Changes to docs like this one shouldn't trigger rebuilds and tests of the entire repository |
…nges Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com>
Updated in commit 4c2b7a2. Added Filters added:
Documentation-only PRs will now only trigger the docs workflow, while code changes will continue to run all workflows as before. |
Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com>
The HyperLink component documentation only listed 3 core properties without implementation details, styling capabilities, or usage guidance. Additionally, GitHub Actions workflows were running unnecessary builds and tests for documentation-only changes.
Changes
Documented Supported Features
Added Unsupported Features Section
Clarified which Web Forms properties exist but don't work:
Enabled- exists for compatibility, doesn't disable the linkTabIndex- not rendered on anchor elementImageUrl- not supported (guidance: wrap Image in anchor instead)Added Usage Examples
Web Forms to Blazor migration examples with styling demonstrations:
All features verified against actual component implementation (HyperLink.razor, HyperLink.razor.cs, BaseStyledComponent).
Optimized GitHub Actions Workflows
paths-ignorefilters to skip documentation-only changespaths-ignorefilters to skip documentation-only changesdocs/**,**/*.md,mkdocs.ymlDocumentation-only PRs now only trigger the docs workflow, while code changes continue to trigger all workflows as before. Manual
workflow_dispatchtriggers remain functional.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.