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

fix(docs): #3827 link ref to other doc pages is incorrect #3830

Merged
merged 5 commits into from Jun 22, 2023

Conversation

shouldnt
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jun 18, 2023

⚠️ No Changeset found

Latest commit: e84b889

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jun 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
formik-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 3:33am

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 18, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e84b889:

Sandbox Source
Formik TypeScript Playground (forked) Configuration

docs/api/fieldarray.md Outdated Show resolved Hide resolved
@@ -93,11 +93,11 @@ to `<button onClick={handleReset}>...</button>`

#### `handleSubmit: (e: React.FormEvent<HTMLFormElement>) => void`

Submit handler. This should be passed to `<form onSubmit={props.handleSubmit}>...</form>`. To learn more about the submission process, see [Form Submission](../docs/guides/form-submission.md).
Copy link
Collaborator

@quantizor quantizor Jun 20, 2023

Choose a reason for hiding this comment

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

I don't think these changes are correct, they work properly on the current live site, see https://formik.org/docs/api/formik#handlesubmit-e-reactformeventhtmlformelement--void

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I checked the live site is correct, but when navigating around directly in the md file in the GitHub repo will be incorrect
this change makes both md file and the website work properly

@@ -67,7 +67,7 @@ export const FriendList = () => (

### `name: string`

The name or path to the relevant key in [`values`](./formik.md#values--field-string-any-).
The name or path to the relevant key in [`values`](./formik#values--field-string-any-).
Copy link
Contributor Author

@shouldnt shouldnt Jun 21, 2023

Choose a reason for hiding this comment

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

I didn't remove .md extension because, in the website src code, the extension will be remove before transforming to a link
and keep .md extension will help navigate around directly in the md file correctly.

quantizor
quantizor previously approved these changes Jun 22, 2023
Copy link
Collaborator

@quantizor quantizor left a comment

Choose a reason for hiding this comment

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

LGTM thank you

@kodiakhq kodiakhq bot merged commit 48671ac into jaredpalmer:main Jun 22, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants