Skip to content

Commit 201935d

Browse files
committed
Fix anchors and typos
1 parent d074f20 commit 201935d

19 files changed

Lines changed: 25 additions & 25 deletions

docs/EditTutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ React-admin supports the most common validation strategies:
549549

550550
* [per field validators](./Validation.md#per-input-validation-built-in-field-validators),
551551
* [form validation](./Validation.md#global-validation),
552-
* [validation schema powered by yup or zod](./Validation.html#schema-validation),
552+
* [validation schema powered by yup or zod](./Validation.md#schema-validation),
553553
* [server-side validation](./Validation.md#server-side-validation).
554554

555555
![Validation example](./img/validation.png)

docs/Features.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const SongList = () => (
403403
);
404404
```
405405

406-
Check [the Saved Queries Tutorial](./FilteringTutorial.md##saved-queries-let-users-save-filter-and-sort) to learn more.
406+
Check [the Saved Queries Tutorial](./FilteringTutorial.md#saved-queries-let-users-save-filter-and-sort) to learn more.
407407

408408
Finally, react-admin offers low-level components and hooks to **build your own search UI**:
409409

@@ -486,7 +486,7 @@ React-admin offers, out of the box, several form layouts:
486486
- [`<AccordionForm>`](./AccordionForm.md) for long forms with collapsible sections
487487
- [`<LongForm>`](./LongForm.md) for long forms with a navigation sidebar
488488
- [`<WizardForm>`](./WizardForm.md) for multi-step forms
489-
- [`<EditInDialog>`](./EditInDialog.md) for sub-forms in a modal dialog
489+
- [`<EditDialog>`](./EditDialog.md) for sub-forms in a modal dialog
490490
- and [`Form`](./Form.md), a headless component to use as a base for your custom layouts
491491

492492
### Input Components
@@ -506,7 +506,7 @@ Inside forms, you can use specialize [input components](./Inputs.md), designed f
506506
| Date | `'2022-10-23'` | [`<DateInput>`](./DateInput.md) |
507507
| Time | `'14:30:00'` | [`<TimeInput>`](./TimeInput.md) |
508508
| Date & time | `'2022-10-24T19:40:28.003Z'` | [`<DateTimeInput>`](./DateTimeInput.md) |
509-
| Object | `{ foo: 'bar' }` | All inputs (see [ `source`](#source)) |
509+
| Object | `{ foo: 'bar' }` | All inputs (see [ `source`](./Inputs.md#source)) |
510510
| Enum | `'foo'` | [`<SelectInput>`](./SelectInput.md), [`<AutocompleteInput>`](./AutocompleteInput.md), [`<RadioButtonGroupInput>`](./RadioButtonGroupInput.md) |
511511
| Foreign key | `42` | [`<ReferenceInput>`](./ReferenceInput.md) |
512512
| Array of objects | `[{ item: 'jeans', qty: 3 }, { item: 'shirt', qty: 1 }]` | [`<ArrayInput>`](./ArrayInput.md) |
@@ -566,7 +566,7 @@ React-admin forms support the most common validation strategies:
566566

567567
* [per field validators](./Validation.md#per-input-validation-built-in-field-validators),
568568
* [form validation](./Validation.md#global-validation),
569-
* [validation schema powered by yup or zod](./Validation.html#schema-validation),
569+
* [validation schema powered by yup or zod](./Validation.md#schema-validation),
570570
* [server-side validation](./Validation.md#server-side-validation).
571571

572572
Here is an example of per-field validation:
@@ -804,7 +804,7 @@ To learn more about authentication, roles, and permissions, check out the follow
804804
- [`WithPermissions`](./WithPermissions.md)
805805
- [`useAuthProvider`](./useAuthProvider.md)
806806
- [`useAuthenticated`](./useAuthenticated.md)
807-
- [`useAuthstate`](./useAuthstate.md)
807+
- [`useAuthstate`](./useAuthState.md)
808808
- [`useGetIdentity`](./useGetIdentity.md)
809809
- [`useLogin`](./useLogin.md)
810810
- [`useLogout`](./useLogout.md)
@@ -974,7 +974,7 @@ These building blocks include:
974974
And if you want to create your building blocks, you can use any of the [75+ hooks](./Reference.md#hooks) that carry **headless, reusable logic**. To name a few of them:
975975

976976
- [`useRecordContext`](./useRecordContext.md) to get the current record anywhere in the app
977-
- [`useWarnWhenUnsavedChanges`](./useWarnWhenUnsavedChanges.md) to warn the user when he tries to leave a page with unsaved changes
977+
- [`useWarnWhenUnsavedChanges`](./EditTutorial.md#warning-about-unsaved-changes) to warn the user when he tries to leave a page with unsaved changes
978978
- [`useSaveContext`](./useSaveContext.md) to tweak form submission
979979
- [`useTheme`](./Theming.md#changing-the-theme-programmatically) to change the theme programmatically
980980

docs/Routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,4 @@ If there are duplicates, you need to make sure to use only the same version as r
239239
}
240240
```
241241

242-
This may also happen inside a [Remix](https://remix.run/) application. See [Setting up react-admin for Remix](./Remix.md#setting-up-react-admin) for instructions to overcome that problem.
242+
This may also happen inside a [Remix](https://remix.run/) application. See [Setting up react-admin for Remix](./Remix.md#setting-up-react-admin-in-remix) for instructions to overcome that problem.

docs/Show.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ That's enough to display the post show view:
6060
* `className`: passed to the root component
6161
* [`children`](#layout): the components that render the record fields
6262
* [`component`](#component): overrides the root component
63-
* [`disableAuthentication`](#`disableauthentication`): disable the authentication check
63+
* [`disableAuthentication`](#disableauthentication): disable the authentication check
6464
* [`emptyWhileLoading`](#loading-state)
6565
* [`queryOptions`](#queryoptions): options to pass to the react-query client
6666
* [`sx`](#sx-css-api): Override the styles

docs/SimpleForm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ Before building your own custom layout, take a look at the existing form layout
502502
- [`AccordionForm`](./AccordionForm.md) for long forms with collapsible sections
503503
- [`LongForm`](./LongForm.md) for long forms with a navigation sidebar
504504
- [`WizardForm`](./WizardForm.md) for multi-step forms
505-
- [`EditInDialog`](./EditInDialog.md) for sub-forms in a modal dialog
505+
- [`EditDialog`](./EditDialog.md) for sub-forms in a modal dialog
506506
- and [`Form`](./Form.md), a headless component to use as a base for your custom layouts
507507

508508
## Subscribing To Form Changes

docs/StackedFilters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ With the configuration above, the possible filter keys are:
237237

238238
## Internationalization
239239

240-
React-admin uses the keys of the filter configuration to display the field names. Each key goes through the standard [resource and field name translation system](./Translation.md#translating-resource-and-field-names), so you can customize them using a translation file.
240+
React-admin uses the keys of the filter configuration to display the field names. Each key goes through the standard [resource and field name translation system](./Translation.md#translation-files), so you can customize them using a translation file.
241241

242242
```jsx
243243
// in i18n/en.js
@@ -295,4 +295,4 @@ export default {
295295
},
296296
},
297297
};
298-
```
298+
```

docs/TabbedForm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export const PostCreate = () => (
220220
```
221221
{% endraw %}
222222

223-
**Tip:** If you want to customize the _content_ of the tabs instead, for example to limit the width of the form, you should rather add an `sx` prop to the [`<TabbedForm.Tab>` component](#formtab).
223+
**Tip:** If you want to customize the _content_ of the tabs instead, for example to limit the width of the form, you should rather add an `sx` prop to the [`<TabbedForm.Tab>` component](#tabbedformtab).
224224

225225
## `sanitizeEmptyValues`
226226

docs/addRefreshAuthToAuthProvider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: "addRefreshAuthToAuthProvider"
55

66
# `addRefreshAuthToAuthProvider`
77

8-
This helper function wraps an existing [`authProvider`]('./Authentication.md') to support authentication token refreshing mechanisms.
8+
This helper function wraps an existing [`authProvider`](./Authentication.md) to support authentication token refreshing mechanisms.
99

1010
## Usage
1111

docs/useSubscribeToRecord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You can provide the resource and record id explicitly if you are not in such con
109109
useSubscribeToRecord(event => { /* ... */ }, 'posts', 123);
110110
```
111111
112-
**Tip**: If your reason to subscribe to events on a record is to keep the record up to date, you should use [the `useGetOneLive` hook](#usegetonelive) instead.
112+
**Tip**: If your reason to subscribe to events on a record is to keep the record up to date, you should use [the `useGetOneLive` hook](./useGetOneLive.md) instead.
113113
114114
## Parameters
115115

docs/useSubscribeToRecordList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ The `options` object can contain the following properties:
151151
- `once`: Whether to unsubscribe after the first event. Defaults to `false`.
152152
- `unsubscribeOnUnmount`: Whether to unsubscribe on unmount. Defaults to `true`.
153153

154-
See [`useSubscribe`](#usesubscribe) for more details.
154+
See [`useSubscribe`](./useSubscribe.md) for more details.
155155

156156
## `resource`
157157

0 commit comments

Comments
 (0)