-
Notifications
You must be signed in to change notification settings - Fork 116
fix: Update link to docs about snap metadata #5618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -402,7 +402,10 @@ function PublisherSettingsForm({ settings }: Props) { | |||||||||||
| the latest revision pushed to the stable channel. If you | ||||||||||||
| manually edit the Listing page, the automatic updates will | ||||||||||||
| be turned off.{" "} | ||||||||||||
| <a href="/docs/snapcraft-top-level-metadata">Learn more</a>. | ||||||||||||
| <a href="https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml"> | ||||||||||||
|
||||||||||||
| <a href="https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml"> | |
| <a | |
| href="https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml" | |
| className="p-link--external" | |
| > |
Copilot
AI
Mar 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The period after the “Learn more” link is now rendered as a separate text node after the closing . In JSX this introduces whitespace/newline between the link and the period, which can display as “Learn more .”. Consider moving the period immediately adjacent to the closing tag or rendering it without leading whitespace (e.g., as its own JSX string).
| </a> | |
| . | |
| </a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The frontend links use the URL without a trailing slash, but this redirect target includes one. If the docs site canonicalizes differently, this can add an extra redirect hop and may not match the QA expectation exactly. Consider aligning the redirect target with the URL used in the UI (or vice versa) for consistency.