Skip to content

Commit c55daed

Browse files
authored
Merge pull request #1664 from GetStream/devex/broken-links
Update broken Docusaurus links
2 parents ac4c614 + 8cb1661 commit c55daed

File tree

13 files changed

+18
-17
lines changed

13 files changed

+18
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ e2e/.env
55
*.log
66
.DS_STORE
77
*.db
8+
.idea

docusaurus/docs/reactnative/basics/translations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const { t, tDateTimeParser } = await streami18n.getTranslators();
392392
Allows you to register a custom translation, this will override a translation if one already exists for the given language code.
393393
The third parameter, which is optional, is a Day.js locale, which is structured the same as [dayjsLocaleConfigForLanguage](#dayjslocaleconfigforlanguage).
394394

395-
It is suggested you look at the [`enTranslations` json file](https://github.com/GetStream/stream-chat-react-native/tree/main/src/i18n) exported from `stream-chat-react-native` for a current list of used translation keys.
395+
It is suggested you look at the [`enTranslations` json file](https://github.com/GetStream/stream-chat-react/blob/master/src/i18n/en.json) exported from `stream-chat-react-native` for a current list of used translation keys.
396396

397397
```ts
398398
streami18n.registerTranslation('mr', {

docusaurus/docs/reactnative/contexts/translation_context.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: TranslationContext
44
---
55

66
`TranslationContext` is provided by [`OverlayProvider`](../core-components/overlay_provider.mdx) and [`Chat`](../core-components/chat.mdx) components.
7-
Read the [translations section](../basics/translations/) for more information on how to customize your translations.
7+
Read the [translations section](basics/translations.mdx) for more information on how to customize your translations.
88
If you are not familiar with React Context API, please read about it on [React docs](https://reactjs.org/docs/context.html).
99

1010
## Basic Usage

docusaurus/docs/reactnative/customization/theming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ The resulting changes by applying the custom theme are easily seen in the change
149149

150150
Most of the styles are standard React Native styles, but some styles applying to SVGs, Markdown, or custom components are numbers, strings, or other specified types.
151151
The TypeScript documentation of [`Theme`](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts) should help you in this regard.
152-
Message text is an instance of an exception as it is rendered using [`react-native-markdown-package`](https://github.com/andangrd/react-native-markdown-package) and the [`MarkdownStyle`](https://github.com/andangrd/react-native-markdown-package/blob/main/styles.js) is added to the theme at key `messageSimple` -> `content` -> `markdown`.
152+
Message text is an instance of an exception as it is rendered using [`react-native-markdown-package`](https://github.com/andangrd/react-native-markdown-package) and the [`MarkdownStyle`](https://github.com/andangrd/react-native-markdown-package/blob/master/styles.js) is added to the theme at key `messageSimple` -> `content` -> `markdown`.
153153

154154
:::

docusaurus/docs/reactnative/guides/message_actions_customization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type MessageAction = {
4242
};
4343
```
4444

45-
You can customize each one of the default actions using props on the [`Channel component`](../) as shown further on this page. The channel component makes these props available in the `MessagesContext` context.
45+
You can customize each one of the default actions using props on the [`Channel component`](../core-components/channel.mdx) as shown further on this page. The channel component makes these props available in the `MessagesContext` context.
4646

4747
The channel component accepts a prop called `messageActions`. You can use this prop as a callback function to render message actions selectively.
4848

@@ -148,7 +148,7 @@ import { messageActions as defaultMessageActions, Mute as MuteIcon } from 'strea
148148
149149
## How to customize message action UI
150150
151-
[`OverlayProvider`](../) component accepts props called - `MessageActionList` and `MessageActionListItem`. They both serve a different purpose.
151+
[`OverlayProvider`](../core-components/overlay_provider.mdx) component accepts props called - `MessageActionList` and `MessageActionListItem`. They both serve a different purpose.
152152
153153
- `MessageActionList` - Allows full customizability of the message action list and allows users to add/define their own message action along with the style they prefer for the application.
154154
- `MessageActionListItem` - Allows customizability of an item in a message action list.

docusaurus/docs/reactnative/guides/push_notifications_v1.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function App() {
264264
265265
## Troubleshooting
266266
267-
If you are having trouble receiving push notifications, please use our [Push Notification Test Application](https://github.com/GetStream/chat-push-test/tree/main/react-native) to check if you have setup Push Configuration correctly.
268-
Please follow the steps mentioned in [Readme](https://github.com/GetStream/chat-push-test/tree/main/react-native) for further instructions
267+
If you are having trouble receiving push notifications, please use our [Push Notification Test Application](https://github.com/GetStream/chat-push-test/tree/master/react-native) to check if you have setup Push Configuration correctly.
268+
Please follow the steps mentioned in [Readme](https://github.com/GetStream/chat-push-test/tree/master/react-native) for further instructions
269269
270270
If you are still having trouble with Push Notifications, please contact [[email protected]](mailto:[email protected])

docusaurus/docs/reactnative/ui-components/overlay_reactions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const reactions = message.latest_reactions.map(reaction => ({
3636

3737
### <div class="label required">required</div> **showScreen** {#showscreen}
3838

39-
`Shared` value from React Native Reanimated's [`useSharedValue`](https://docs.swmansion.com/react-native-reanimated/docs/api/useSharedValue/) hook.
39+
`Shared` value from React Native Reanimated's [`useSharedValue`](https://docs.swmansion.com/react-native-reanimated/docs/api/hooks/useSharedValue/) hook.
4040

4141
| Type |
4242
| ------ |

docusaurus/reactnative_versioned_docs/version-3.x.x/basics/translations.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ streami18n.registerTranslation('pl', {
9595
});
9696
```
9797

98-
Please take a look at all the available texts [here](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/i18n/en.json).
98+
Please take a look at all the available texts [here](https://github.com/GetStream/stream-chat-react/blob/master/src/i18n/en.json).
9999

100100
### Overriding existing languages
101101

@@ -392,7 +392,7 @@ const { t, tDateTimeParser } = await streami18n.getTranslators();
392392
Allows you to register a custom translation, this will override a translation if one already exists for the given language code.
393393
The third parameter, which is optional, is a Day.js locale, which is structured the same as [dayjsLocaleConfigForLanguage](#dayjslocaleconfigforlanguage).
394394

395-
It is suggested you look at the [`enTranslations` json file](https://github.com/GetStream/stream-chat-react-native/tree/main/src/i18n) exported from `stream-chat-react-native` for a current list of used translation keys.
395+
It is suggested you look at the [`enTranslations` json file](https://github.com/GetStream/stream-chat-react/blob/master/src/i18n/en.json) exported from `stream-chat-react-native` for a current list of used translation keys.
396396

397397
```ts
398398
streami18n.registerTranslation('mr', {

docusaurus/reactnative_versioned_docs/version-3.x.x/basics/troubleshooting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,15 @@ The solution may require using a different touchable from React Native Gesture H
298298
299299
## Reanimated 2
300300
301-
We rely on Reanimated 2 heavily for gesture based interactions and animations. It is vital you follow the [Reanimated 2 installation instructions](https://docs.swmansion.com/react-native-reanimated/docs/installation/) for the library to work properly.
301+
We rely on Reanimated 2 heavily for gesture based interactions and animations. It is vital you follow the [Reanimated 2 installation instructions](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/) for the library to work properly.
302302
303303
### Failed to create a worklet
304304
305305
If you are encountering errors related to `Reanimated 2 failed to create a worklet` you must likely forgot to add the `react-native-reanimated/plugin` to your `babel.config.js` file.
306306
307307
### Blank screen on Android
308308
309-
If you are encountering errors on Android and the screen is blank it is likely you forgot to finish the [Reanimated 2 Android setup](https://docs.swmansion.com/react-native-reanimated/docs/installation/#android).
309+
If you are encountering errors on Android and the screen is blank it is likely you forgot to finish the [Reanimated 2 Android setup](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/#android).
310310
311311
Ensure Hermes is enabled in `android/app/build.gradle`
312312

docusaurus/reactnative_versioned_docs/version-3.x.x/customization/theming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ The resulting changes by applying the custom theme are easily seen in the change
149149

150150
Most of the styles are standard React Native styles, but some styles applying to SVGs, Markdown, or custom components are numbers, strings, or other specified types.
151151
The TypeScript documentation of [`Theme`](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/contexts/themeContext/utils/theme.ts) should help you in this regard.
152-
Message text is an instance of an exception as it is rendered using [`react-native-markdown-package`](https://github.com/andangrd/react-native-markdown-package) and the [`MarkdownStyle`](https://github.com/andangrd/react-native-markdown-package/blob/main/styles.js) is added to the theme at key `messageSimple` -> `content` -> `markdown`.
152+
Message text is an instance of an exception as it is rendered using [`react-native-markdown-package`](https://github.com/andangrd/react-native-markdown-package) and the [`MarkdownStyle`](https://github.com/andangrd/react-native-markdown-package/blob/master/styles.js) is added to the theme at key `messageSimple` -> `content` -> `markdown`.
153153

154154
:::

0 commit comments

Comments
 (0)