Skip to content

Commit

Permalink
feat: replace v3 readme url field with v2 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
joneidejohnsen authored Dec 2, 2022
1 parent 9043c9b commit 573af6e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions schemas/documents/contributions/tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,6 @@ export default {
return true;
}),
},
{
name: 'v3ReadmeUrl',
type: 'url',
title: 'Link to v3 readme',
description: `This URL will add a link just above the v3 install snippet. For example "https://github.com/sanity-io/sanity-plugin-scheduled-publishing/blob/v3/README.md"`,
fieldset: 'code',
hidden: ({document}) => document.studioVersion !== 2,
},
{
name: 'v3InstallWith',
type: 'string',
Expand Down Expand Up @@ -325,6 +317,14 @@ export default {
],
},
},
{
name: 'v2ReadmeUrl',
type: 'url',
title: 'Link to v2 readme',
description: `This URL will add a link just above the v2 install snippet. For example "https://github.com/sanity-io/sanity-plugin-scheduled-publishing/blob/v3/README.md"`,
fieldset: 'code',
hidden: ({document}) => document.studioVersion !== 3,
},
{
name: 'v2DistTag',
type: 'string',
Expand Down

1 comment on commit 573af6e

@vercel
Copy link

@vercel vercel bot commented on 573af6e Dec 2, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.