From 1ebefe79df654dc545dff82762c758261ce138a9 Mon Sep 17 00:00:00 2001 From: gwyneplaine Date: Thu, 6 May 2021 13:56:12 +1000 Subject: [PATCH 1/2] docs link in admin-ui should loink to next docs not old docs --- packages-next/admin-ui/src/components/Navigation.tsx | 2 +- packages-next/fields/src/types/select/Implementation.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages-next/admin-ui/src/components/Navigation.tsx b/packages-next/admin-ui/src/components/Navigation.tsx index 309f0a68856..32f8f0d2738 100644 --- a/packages-next/admin-ui/src/components/Navigation.tsx +++ b/packages-next/admin-ui/src/components/Navigation.tsx @@ -92,7 +92,7 @@ const AuthenticatedItem = ({ item }: { item: { id: string; label: string } }) => GitHub Repository - + Keystone Documentation diff --git a/packages-next/fields/src/types/select/Implementation.ts b/packages-next/fields/src/types/select/Implementation.ts index 90f3a4900ff..0c2cb340ea1 100644 --- a/packages-next/fields/src/types/select/Implementation.ts +++ b/packages-next/fields/src/types/select/Implementation.ts @@ -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, From c5d6a37fa776d5c36a53437289271539d7df52f1 Mon Sep 17 00:00:00 2001 From: gwyneplaine Date: Thu, 6 May 2021 14:00:54 +1000 Subject: [PATCH 2/2] changeset --- .changeset/curvy-students-hear.md | 5 +++++ .changeset/fast-tomatoes-learn.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changeset/curvy-students-hear.md create mode 100644 .changeset/fast-tomatoes-learn.md diff --git a/.changeset/curvy-students-hear.md b/.changeset/curvy-students-hear.md new file mode 100644 index 00000000000..2fb70f767ac --- /dev/null +++ b/.changeset/curvy-students-hear.md @@ -0,0 +1,5 @@ +--- +'@keystone-next/admin-ui': patch +--- + +Updated docs link to point to next.keystonejs.com. diff --git a/.changeset/fast-tomatoes-learn.md b/.changeset/fast-tomatoes-learn.md new file mode 100644 index 00000000000..4af72da2a62 --- /dev/null +++ b/.changeset/fast-tomatoes-learn.md @@ -0,0 +1,5 @@ +--- +'@keystone-next/fields': patch +--- + +Updated docs link to next.keystonejs.com.