Skip to content

Commit

Permalink
remove /docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Sep 18, 2023
1 parent b07f161 commit 234d1c3
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 30 deletions.
4 changes: 2 additions & 2 deletions docs/sdk/core-kit/sfa-react-native/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ such as push notifications, builds, and updates.

Your Bare React Native app is entirely built on your machine. In this workflow, the developer has complete control, along with the complexity that
comes with that. Configuration with `app.json` / `app.config.js` is mostly not supported in this context; instead, you will need to configure each
native project directly with Swift/Kotlin native modules. Check out the [troubleshooting section](/docs/sdk/pnp/react-native/install#troubleshooting)
for fixing common issues.
native project directly with Swift/Kotlin native modules. Check out the [troubleshooting section](/sdk/pnp/react-native/install#troubleshooting) for
fixing common issues.

:::tip

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/pnp/react-native/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ such as push notifications, builds, and updates.

Your Bare React Native app is entirely built on your machine. In this workflow, the developer has complete control, along with the complexity that
comes with that. Configuration with `app.json` / `app.config.js` is mostly not supported in this context; instead, you will need to configure each
native project directly with Swift/Kotlin native modules. Check out the [troubleshooting section](/docs/sdk/pnp/react-native/install#troubleshooting)
native project directly with Swift/Kotlin native modules. Check out the [troubleshooting section](/sdk/pnp/react-native/install#troubleshooting)
for fixing common issues.

:::tip
Expand Down
8 changes: 0 additions & 8 deletions mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,9 @@
}
],
"replacementPatterns": [
{
"pattern": "^/docs/",
"replacement": "https://web3auth.io/"
},
{
"pattern": "^/",
"replacement": "https://web3auth.io/docs/"
},
{
"pattern": "^./",
"replacement": "https://web3auth.io/docs/"
}
],
"ignorePatterns": [
Expand Down
6 changes: 3 additions & 3 deletions src/common/quickstart/_pnp-reactnative-bare.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Once you're done initializing, just create a button that triggers the login for
:::warning

Please note that the v4 react-native-sdk has some breaking changes. For instance, `web3auth.login` is a void method, unlike the older versions of the
SDK. Please refer to the [migration guide](/docs/pnp/migration-guides/rn-v3-to-v4) for more.
SDK. Please refer to the [migration guide](/pnp/migration-guides/rn-v3-to-v4) for more.

:::

Expand Down Expand Up @@ -86,8 +86,8 @@ To make use of the polyfilled modules while building the application, you need t

:::info Expo Managed Workflow

You will have to create `metro.config.js` for Expo Managed Workflow, as it is not present by default. Also, note that polyfilling is not supported with
"Expo Go" app. It is compatible only with Custom Dev Client and EAS builds.
You will have to create `metro.config.js` for Expo Managed Workflow, as it is not present by default. Also, note that polyfilling is not supported
with "Expo Go" app. It is compatible only with Custom Dev Client and EAS builds.

Please run `npx expo prebuild` to generate native code based on the version of expo a project has installed, before moving forward.

Expand Down
6 changes: 3 additions & 3 deletions src/common/quickstart/_pnp-reactnative-expo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Once you're done initializing, just create a button that triggers the login for
:::warning

Please note that the v4 react-native-sdk has some breaking changes. For instance, `web3auth.login` is a void method, unlike the older versions of the
SDK. Please refer to the [migration guide](/docs/pnp/migration-guides/rn-v3-to-v4) for more
SDK. Please refer to the [migration guide](/pnp/migration-guides/rn-v3-to-v4) for more

:::

Expand Down Expand Up @@ -94,8 +94,8 @@ To make use of the polyfilled modules while building the application, you need t

:::info Expo Managed Workflow

You will have to create `metro.config.js` for Expo Managed Workflow, as it is not present by default. Also, note that polyfilling is not supported with
"Expo Go" app. It is compatible only with Custom Dev Client and EAS builds.
You will have to create `metro.config.js` for Expo Managed Workflow, as it is not present by default. Also, note that polyfilling is not supported
with "Expo Go" app. It is compatible only with Custom Dev Client and EAS builds.

Please run `npx expo prebuild` to generate native code based on the version of expo a project has installed, before moving forward.

Expand Down
9 changes: 4 additions & 5 deletions src/common/quickstart/_tkey-react-native.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ npm install --save @tkey/core @tkey/service-provider-base @tkey/storage-layer-to

#### Additionally in this step, you need to configure your project to use these libraries.

- Checkout the
[CustomAuth SDK Configuration for React Native](/docs/sdk/core-kit/tkey-react-native/install#configuration-of-project-to-use-customauth-sdk)
- Learn about [polyfills for React Native](/docs/sdk/core-kit/tkey-react-native/install#bundler-polyfilling)
- Checkout the [CustomAuth SDK Configuration for React Native](/sdk/core-kit/tkey-react-native/install#configuration-of-project-to-use-customauth-sdk)
- Learn about [polyfills for React Native](/sdk/core-kit/tkey-react-native/install#bundler-polyfilling)

:::

Expand Down Expand Up @@ -129,7 +128,7 @@ const triggerLogin = async () => {
:::info

- [What's a verifier?](/auth-provider-setup/verifiers)
- [How to create a auth0 verifier?](/docs/auth-provider-setup/federated-identity-providers)
- [How to create a auth0 verifier?](/auth-provider-setup/federated-identity-providers)

:::

Expand Down Expand Up @@ -161,6 +160,6 @@ const initializeNewKey = async () => {
:::warning

This is set up the tKey in 2/2 flow, which means that the private will be lost once you log out of the app. To add more shares, make sure to use the
added modules and configure them as written in the [SDK Reference](/docs/sdk/core-kit/tkey-react-native/modules/)
added modules and configure them as written in the [SDK Reference](/sdk/core-kit/tkey-react-native/modules/)

:::
4 changes: 2 additions & 2 deletions src/common/quickstart/_tkey-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const triggerLogin = async () => {
:::info

- [What's a verifier?](/auth-provider-setup/verifiers)
- [How to create a google verifier?](/docs/auth-provider-setup/social-providers/google)
- [How to create a google verifier?](/auth-provider-setup/social-providers/google)

:::

Expand Down Expand Up @@ -147,6 +147,6 @@ const initializeNewKey = async () => {
:::warning

This is set up the tKey in 2/2 flow, which means that the private will be lost once you log out of the app. To add more shares, make sure to use the
added modules and configure them as written in the [SDK Reference](/docs/sdk/core-kit/tkey/modules/)
added modules and configure them as written in the [SDK Reference](/sdk/core-kit/tkey/modules/)

:::
2 changes: 1 addition & 1 deletion src/common/sdk/pnp/web/_external-wallet-adapters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To configure an adapter, create the instance of adapter by using its correspondi

:::tip

Refer to the [Adapters documentation](/docs/sdk/pnp/web/adapters) to know more deeply about what adapters are available and how to configure them.
Refer to the [Adapters documentation](/sdk/pnp/web/adapters) to know more deeply about what adapters are available and how to configure them.

:::

Expand Down
2 changes: 1 addition & 1 deletion src/pages/content-hub/guides/browser-extension.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ the blockchain.
## How it works?

We can integrate `@web3auth/no-modal` as well as `@web3auth/modal` to build a browser extension with Web3Auth. You can read more about both the SDKs
in the [SDKs](/docs/sdk/pnp/web) section. The login flow of the user is as follows:
in the [SDKs](/sdk/pnp/web) section. The login flow of the user is as follows:

![Web3Auth Core - Social Login Flow](/images/implicit-flow.svg)

Expand Down
2 changes: 1 addition & 1 deletion src/pages/content-hub/guides/ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ let web3auth = Web3Auth(W3AInitParams(
))
```

All the below code snippets are based on the above initialization. Please refer to the [Web3Auth ios SDK Reference](/docs/sdk/pnp/ios) for more
All the below code snippets are based on the above initialization. Please refer to the [Web3Auth ios SDK Reference](/sdk/pnp/ios) for more
information.

After creating a `Web3Auth` instance using one of the above methods, you can use the instance to call various methods.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ While using the Web3Auth Android SDK, you get the private key and sessionId with

:::info Connect any Blockchain

Refer to the [Blockchain Documentation](/docs/connect-blockchain/) to know more about how to make calls on any blockchain.
Refer to the [Blockchain Documentation](/connect-blockchain/) to know more about how to make calls on any blockchain.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ While using the Web3Auth Flutter SDK, you get the private key within the user sc

:::info Connect any Blockchain

Refer to the [Blockchain Documentation](/docs/connect-blockchain/) to know more about how to make calls on any blockchain.
Refer to the [Blockchain Documentation](/connect-blockchain/) to know more about how to make calls on any blockchain.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ While using the Web3Auth iOS SDK, you get the private key and sessionId within t

:::info Connect any Blockchain

Refer to the [Blockchain Documentation](/docs/connect-blockchain/) to know more about how to make calls on any blockchain.
Refer to the [Blockchain Documentation](/connect-blockchain/) to know more about how to make calls on any blockchain.

:::

0 comments on commit 234d1c3

Please sign in to comment.