Skip to content

Commit 298262d

Browse files
authored
fix: Update link to docs about snap metadata (#5618)
1 parent c8894c6 commit 298262d

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

redirects.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ docs/defining-a-command/?: https://documentation.ubuntu.com/snapcraft/stable/tut
134134
docs/snapcraft-docker-images/?: https://documentation.ubuntu.com/snapcraft/stable/how-to/crafting/specify-a-base/#containers
135135
docs/snapcraft-tutorials/?: https://documentation.ubuntu.com/snapcraft/stable/tutorials/
136136
docs/snapcraft-reference/?: https://documentation.ubuntu.com/snapcraft/stable/reference/
137+
docs/snapcraft-top-level-metadata/?: https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml/
137138

138139
# Legacy forum redirects for pages that don't exist in RTD.
139140
# These are temporary and will be replaced when Snapcraft 7 is migrated.

static/js/publisher/pages/Listing/ListingForm/ListingForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function ListingForm({ data, refetch }: Props): React.JSX.Element {
120120
version of the snapcraft.yaml released to the stable channel.{" "}
121121
<a
122122
className="p-link--external"
123-
href="/docs/snapcraft-top-level-metadata"
123+
href="https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml"
124124
>
125125
Learn more
126126
</a>

static/js/publisher/pages/PublisherSettings/PublisherSettingsForm.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,10 @@ function PublisherSettingsForm({ settings }: Props) {
402402
the latest revision pushed to the stable channel. If you
403403
manually edit the Listing page, the automatic updates will
404404
be turned off.{" "}
405-
<a href="/docs/snapcraft-top-level-metadata">Learn more</a>.
405+
<a href="https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml">
406+
Learn more
407+
</a>
408+
.
406409
</span>
407410
</label>
408411
{getValues("update_metadata_on_release") && (

0 commit comments

Comments
 (0)