Skip to content
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

docs link in admin-ui should link to next docs not old docs #5629

Merged
merged 3 commits into from
May 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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