Skip to content

Commit 58a91c8

Browse files
fix: fix
1 parent 4dd5c2d commit 58a91c8

9 files changed

+16
-16
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributing
22

3-
See https://docs.appandflow.com/react-native-safe-area-context/docs/contributing
3+
See https://appandflow.github.io/react-native-safe-area-context/contributing/

docs/docs/api/deprecated.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ sidebar_label: Deprecated APIs
66

77
### useSafeArea
88

9-
Use [useSafeAreaInsets](/docs/api/use-safe-area-insets) instead.
9+
Use [useSafeAreaInsets](/api/use-safe-area-insets) instead.
1010

1111
### SafeAreaConsumer
1212

13-
Use [SafeAreaInsetsContext.Consumer](/docs/api/safe-area-insets-context) instead.
13+
Use [SafeAreaInsetsContext.Consumer](/api/safe-area-insets-context) instead.
1414

1515
### SafeAreaContext
1616

17-
Use [SafeAreaInsetsContext](/docs/api/safe-area-insets-context) instead.
17+
Use [SafeAreaInsetsContext](/api/safe-area-insets-context) instead.
1818

1919
### initialWindowSafeAreaInsets
2020

21-
Use [initialWindowMetrics](/docs/api/initial-window-metrics) instead.
21+
Use [initialWindowMetrics](/api/initial-window-metrics) instead.

docs/docs/api/initial-window-metrics.mdx

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

7-
Insets and frame of the window on initial render. This can be used with the `initialMetrics` from `SafeAreaProvider`. See [optimization](/docs/optimizations) for more information.
7+
Insets and frame of the window on initial render. This can be used with the `initialMetrics` from `SafeAreaProvider`. See [optimization](/optimizations) for more information.
88

99
Object with:
1010

docs/docs/api/safe-area-provider.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function App() {
2020

2121
### Props
2222

23-
Accepts all [View](https://reactnative.dev/docs/view#props) props. Has a default style of `{flex: 1}`.
23+
Accepts all [View](https://reactnative.dev/view#props) props. Has a default style of `{flex: 1}`.
2424

2525
#### `initialMetrics`
2626

2727
Optional, defaults to `null`.
2828

29-
Can be used to provide the initial value for frame and insets, this allows rendering immediately. See [optimization](/docs/optimizations) for more information on how to use this prop.
29+
Can be used to provide the initial value for frame and insets, this allows rendering immediately. See [optimization](/optimizations) for more information on how to use this prop.

docs/docs/api/safe-area-view.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function SomeComponent() {
2424

2525
### Props
2626

27-
Accepts all [View](https://reactnative.dev/docs/view#props) props.
27+
Accepts all [View](https://reactnative.dev/view#props) props.
2828

2929
#### `edges`
3030

docs/docs/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ This library currently has experimental support for the new react-native archite
3535

3636
## Contributing
3737

38-
See the [Contributing Guide](/docs/contributing)
38+
See the [Contributing Guide](/contributing)

docs/docs/testing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ SyntaxError: Cannot use import statement outside a module.
6161
6262
This issue arises due to the use of the import statement. To resolve it, you need to permit Babel to parse the file.
6363
64-
By default, [Jest does not parse files located within the node_modules folder](https://jestjs.io/docs/configuration#transformignorepatterns-arraystring).
64+
By default, [Jest does not parse files located within the node_modules folder](https://jestjs.io/configuration#transformignorepatterns-arraystring).
6565
66-
However, you can modify this behavior as outlined in the Jest documentation on [`transformIgnorePatterns` customization](https://jestjs.io/docs/tutorial-react-native#transformignorepatterns-customization).
66+
However, you can modify this behavior as outlined in the Jest documentation on [`transformIgnorePatterns` customization](https://jestjs.io/tutorial-react-native#transformignorepatterns-customization).
6767
If you're using a preset, like the one from [react-native](https://github.com/facebook/react-native/blob/main/packages/react-native/jest-preset.js), you should update your Jest configuration to include `react-native-safe-area-context` as shown below:
6868
6969
```tsx

docs/docs/usage.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ This library has 2 important concepts, if you are familiar with [React Context](
88

99
### Providers
1010

11-
The [SafeAreaProvider](/docs/api/safe-area-provider) component is a `View` from where insets provided by consumers are relative to. This means that if this view overlaps with any system elements (status bar, notches, etc.) these values will be provided to descendent consumers. Usually you will have one provider at the top of your app.
11+
The [SafeAreaProvider](/api/safe-area-provider) component is a `View` from where insets provided by consumers are relative to. This means that if this view overlaps with any system elements (status bar, notches, etc.) these values will be provided to descendent consumers. Usually you will have one provider at the top of your app.
1212

1313
### Consumers
1414

1515
Consumers are components and hooks that allow using inset values provided by the nearest parent provider. Values are always relative to a provider and not to these components.
1616

17-
- [SafeAreaView](/docs/api/safe-area-view) is the preferred way to consume insets. This is a regular `View` with insets applied as extra padding or margin. It offers better performance by applying insets natively and avoids flickers that can happen with the other JS based consumers.
17+
- [SafeAreaView](/api/safe-area-view) is the preferred way to consume insets. This is a regular `View` with insets applied as extra padding or margin. It offers better performance by applying insets natively and avoids flickers that can happen with the other JS based consumers.
1818

19-
- [useSafeAreaInsets](/docs/api/use-safe-area-insets) offers more flexibility, but can cause some layout flicker in certain cases. Use this if you need more control over how insets are applied.
19+
- [useSafeAreaInsets](/api/use-safe-area-insets) offers more flexibility, but can cause some layout flicker in certain cases. Use this if you need more control over how insets are applied.

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const config: Config = {
1010
favicon: 'img/favicon.ico',
1111

1212
// Set the production url of your site here
13-
url: 'https://docs.appandflow.com',
13+
url: 'https://appandflow.github.io',
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
1616
baseUrl: '/react-native-safe-area-context/',

0 commit comments

Comments
 (0)