Skip to content

Commit

Permalink
docs link in admin-ui should loink to next docs not old docs (#5629)
Browse files Browse the repository at this point in the history
* docs link in admin-ui should loink to next docs not old docs

* changeset
  • Loading branch information
gwyneplaine committed May 6, 2021
1 parent 79a0844 commit 11814ce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-students-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/admin-ui': patch
---

Updated docs link to point to next.keystonejs.com.
5 changes: 5 additions & 0 deletions .changeset/fast-tomatoes-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/fields': patch
---

Updated docs link to next.keystonejs.com.
2 changes: 1 addition & 1 deletion packages-next/admin-ui/src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const AuthenticatedItem = ({ item }: { item: { id: string; label: string } }) =>
<PopoverLink target="_blank" href="https://github.com/keystonejs/keystone">
GitHub Repository
</PopoverLink>
<PopoverLink target="_blank" href="https://www.keystonejs.com/documentation">
<PopoverLink target="_blank" href="https://next.keystonejs.com/documentation">
Keystone Documentation
</PopoverLink>
<SignoutButton />
Expand Down
2 changes: 1 addition & 1 deletion packages-next/fields/src/types/select/Implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function initOptions(options: string | any[]) {
}

const VALID_DATA_TYPES = ['enum', 'string', 'integer'];
const DOCS_URL = 'https://keystonejs.com/keystonejs/fields/src/types/select/';
const DOCS_URL = 'https://next.keystonejs.com/apis/fields#select';

function validateOptions({
options,
Expand Down

1 comment on commit 11814ce

@vercel
Copy link

@vercel vercel bot commented on 11814ce May 6, 2021

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.