diff --git a/fern/docs.yml b/fern/docs.yml index e644cc5c..1e353225 100644 --- a/fern/docs.yml +++ b/fern/docs.yml @@ -62,12 +62,15 @@ navigation: path: docs/pages/introduction/develop-with-ai/ai-tools.mdx - page: Supported Chains path: docs/pages/introduction/supported-chains.mdx - - page: Demo Apps - path: docs/pages/introduction/demo-apps.mdx + - link: Demo Apps + href: https://github.com/0xProject/0x-examples + target: _blank - page: FAQ path: docs/pages/introduction/faq.mdx - page: API Issues & Error Codes path: docs/pages/introduction/api-issues.mdx + - page: Need Help? + path: docs/pages/help/contact-support.mdx - section: Swap API icon: fa-regular fa-arrows-rotate @@ -78,7 +81,7 @@ navigation: contents: - page: Swap Tokens with Swap API path: docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx - - page: Build Token Swap DApp (Next.js) + - page: Build Token Swap App (Next.js) path: docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx - page: Monetize Your App path: docs/pages/0x-swap-api/guides/monetize-your-app-using-swap.mdx @@ -88,7 +91,7 @@ navigation: contents: - page: Swap Tokens with Permit2 path: docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx - - page: Build DApp with Permit2 (Next.js) + - page: Build App with Permit2 (Next.js) path: docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx - section: Additional Topics contents: @@ -120,8 +123,8 @@ navigation: path: docs/pages/gasless-api/understanding-gasless-api.mdx - page: Technical Appendix path: docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx - - page: Gasless FAQ - path: docs/pages/gasless-api/gasless-faq.mdx + - link: Gasless FAQ + href: /docs/swap-api/faq#gasless-api - section: Trade Analytics API icon: fa-regular fa-chart-column @@ -130,8 +133,8 @@ navigation: path: docs/pages/trade-analytics-api/introduction.mdx - page: Transaction Data path: docs/pages/core-concepts/transaction-data.mdx - - page: Trade Analytics FAQ - path: docs/pages/trade-analytics-api/trade-analytics-faq.mdx + - link: Trade Analytics FAQ + href: /docs/introduction/faq#trade-analytics-api - section: Core Concepts icon: fa-regular fa-books @@ -158,8 +161,9 @@ navigation: path: docs/pages/developer-resources/bounties.mdx - page: Rate Limits path: docs/pages/developer-resources/rate-limits.mdx - - page: System Status - path: docs/pages/developer-resources/system-status.mdx + - link: System Status + href: https://0x.statuspal.io/ + target: _blank - section: Upgrading icon: fa-regular fa-arrow-up @@ -178,8 +182,9 @@ navigation: path: docs/pages/introduction/faq.mdx - page: Contact Support path: docs/pages/help/contact-support.mdx - - page: Contact Sales - path: docs/pages/help/contact-sales.mdx + - link: Contact Sales + href: https://0x.org/contact + target: _blank - tab: api-reference layout: diff --git a/fern/docs/assets/img/help/ai-search.png b/fern/docs/assets/img/help/ai-search.png new file mode 100644 index 00000000..f18faed3 Binary files /dev/null and b/fern/docs/assets/img/help/ai-search.png differ diff --git a/fern/docs/assets/img/help/ask-ai.png b/fern/docs/assets/img/help/ask-ai.png new file mode 100644 index 00000000..bd9fd45e Binary files /dev/null and b/fern/docs/assets/img/help/ask-ai.png differ diff --git a/fern/docs/assets/img/help/pylon.gif b/fern/docs/assets/img/help/pylon.gif new file mode 100644 index 00000000..d417573a Binary files /dev/null and b/fern/docs/assets/img/help/pylon.gif differ diff --git a/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx b/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx index d57a67e3..33f75d59 100644 --- a/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx +++ b/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs-permit2.mdx @@ -70,7 +70,7 @@ To build our swap app, we’ll focus on: These components are transferable to almost any token swapping app being built. -![Swap v2 dApp Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts.png) +![Swap v2 App Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts.png) ## 🌈 RainbowKit diff --git a/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx b/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx index 90f0c124..95f87b13 100644 --- a/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx +++ b/fern/docs/pages/0x-swap-api/guides/build-token-swap-dapp-nextjs.mdx @@ -60,7 +60,7 @@ You'll build: These components form the foundation of most swap apps: -![Swap v2 dApp Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts-allowance-holder.png) +![Swap v2 App Core Concepts](../../../assets/img/0x-swap-api/swap-v2-core-concepts-allowance-holder.png) ## 🌈 RainbowKit diff --git a/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx b/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx index 33bad2c3..1da98703 100644 --- a/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx +++ b/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api-permit2.mdx @@ -648,4 +648,4 @@ This wraps up the Swap API Permit2 quickstart. See the links below for starter p - [(Code) Next.js 0x Demo App](https://github.com/0xProject/0x-examples/tree/main/swap-v2-permit2-next-app) - [(Code) Examples Repo](https://github.com/0xProject/0x-examples) -- [(Guide) Build a Next.js dApp with 0x Swap API](/docs/swap-api/guides/permit-2/build-d-app-with-permit-2-next-js) +- [(Guide) Build a Next.js App with 0x Swap API](/docs/swap-api/guides/permit-2/build-d-app-with-permit-2-next-js) diff --git a/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx b/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx index 311ac768..fefa5328 100644 --- a/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx +++ b/fern/docs/pages/0x-swap-api/guides/swap-tokens-with-0x-swap-api.mdx @@ -470,4 +470,4 @@ This wraps up the Swap API AllowanceHolder quickstart. Check out the starter pro - [(Code) Swap API headless example](https://github.com/0xProject/0x-examples/tree/main/swap-v2-allowance-holder-headless-example) - [(Code) Next.js 0x Demo App](https://github.com/0xProject/0x-examples/tree/main/swap-v2-allowance-holder-next-app) - [(Code) Examples Repo](https://github.com/0xProject/0x-examples) -- [(Guide) Build a Next.js dApp with 0x Swap API](./build-token-swap-dapp-nextjs) +- [(Guide) Build a Next.js App with 0x Swap API](./build-token-swap-dapp-nextjs) diff --git a/fern/docs/pages/gasless-api/gasless-faq.mdx b/fern/docs/pages/gasless-api/gasless-faq.mdx deleted file mode 100644 index 0bccba70..00000000 --- a/fern/docs/pages/gasless-api/gasless-faq.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: FAQ -url: "/docs/introduction/faq#gasless-api" ---- diff --git a/fern/docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx b/fern/docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx index f87f9e1b..1496191f 100644 --- a/fern/docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx +++ b/fern/docs/pages/gasless-api/guides/gasless-api-technical-appendix.mdx @@ -219,7 +219,7 @@ If the submitted trade is successful, and object with `type`, `tradeHash`, and ` - If you're using `go-ethereum`, for `domain`, make sure you order the fields in the exact same order as specified in https://eips.ethereum.org/EIPS/eip-712 since `go-ethereum` does not enforce ordering. Also, make sure you skipped fields that are absent. ``` -- string name: the user readable name of signing domain, i.e. the name of the DApp or the protocol. +- string name: the user readable name of signing domain, i.e. the name of the App or the protocol. - string version: the current major version of the signing domain. Signatures from different - versions are not compatible. - uint256 chainId: the EIP-155 chain id. The user-agent should refuse signing if it does not match the currently active chain. - address verifyingContract: the address of the contract that will verify the signature. The user-agent may do contract specific phishing prevention. diff --git a/fern/docs/pages/gasless-api/introduction.mdx b/fern/docs/pages/gasless-api/introduction.mdx index a306592f..c7d90d02 100644 --- a/fern/docs/pages/gasless-api/introduction.mdx +++ b/fern/docs/pages/gasless-api/introduction.mdx @@ -1,13 +1,13 @@ --- title: "Introduction" -description: "Gasless API enables developers to build gasless swaps and approvals into their dApps and workflows." +description: "Gasless API enables developers to build gasless swaps and approvals into their App and workflows." --- ## Overview Welcome to 0x's Gasless API! -Gasless API leverages the 0x relayer network to enable developers to build gasless approvals & swaps into their dApps & workflows. +Gasless API leverages the 0x relayer network to enable developers to build gasless approvals & swaps into their App & workflows. ## The Problem @@ -320,7 +320,7 @@ Swap and Gasless v2 APIs are currently supported on the following chains. Select width="100%" height="420" src="https://www.youtube.com/embed/0d0tVwJCbiw" - title="How to Build a Gasless Token Swap Dapp" + title="How to Build a Gasless Token Swap App" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" diff --git a/fern/docs/pages/help/contact-sales.mdx b/fern/docs/pages/help/contact-sales.mdx deleted file mode 100644 index e7ddb868..00000000 --- a/fern/docs/pages/help/contact-sales.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Contact Sales -url: "/docs/contact-sales" ---- diff --git a/fern/docs/pages/help/contact-support.mdx b/fern/docs/pages/help/contact-support.mdx index 81a8aa2a..3fe3704b 100644 --- a/fern/docs/pages/help/contact-support.mdx +++ b/fern/docs/pages/help/contact-support.mdx @@ -1,4 +1,76 @@ --- -title: Contact Support -url: "/docs/help/contact-support" +title: Need Help? +description: "Need help with 0x? Explore documentation, AI tools, and direct support options." --- + +Need help with 0x? We provide search, AI tools, and direct support options. + +## 🔎 Search the Docs (Recommended First Step) + +Before reaching out, try using our built-in AI-powered documentation search. + +You can: + +- Ask questions using **Ask AI** +- Run traditional keyword searches +- Search directly from the widget in the docs + +![ai search](../../assets/img/help/ai-search.png) +![ask ai](../../assets/img/help/ask-ai.png) + +For advanced AI workflows, see **[Using AI with 0x](/docs/introduction/develop-with-ai/using-ai-with-0-x)** to connect LLMs directly to 0x documentation. + +--- + +## 💬 Contact Developer Support (Fastest Direct Help) + +The 0x Developer Support team is available to answer technical questions. + +The **fastest route for technical support** is the Pylon messenger. + +You can access it directly from your [0x Dashboard](https://dashboard.0x.org/) + +![Pylon Messenger](../../assets/img/help/pylon.gif "Pylon Messenger demo") + +--- + +--- + +## 🤖 Use AI with 0x Docs + +0x Docs includes built-in tools to work efficiently with LLMs like ChatGPT, Claude, and Cursor. + +You can: + +- Copy documentation in AI-optimized format +- Open pages directly in ChatGPT or Claude +- Connect AI tools to the 0x MCP server +- Use AI-powered search inside your IDE + +**[Learn how to use AI with 0x](/docs/introduction/develop-with-ai/using-ai-with-0-x)** + +--- + +## 💼 Contact Sales + +Questions about plans, pricing, enterprise contracts, or demos? + +[Speak to our Sales team](https://0x.org/contact) + +--- + +## 💬 Community (Discord) + +Join our [Discord](https://discord.com/invite/official0x) to connect with other developers building with 0x APIs. + +> Note: For account-specific or technical issues, Pylon Messenger support via the 0x Dashboard is the fastest option. + +--- + +## 📢 Stay Updated + +Follow 0x for announcements and updates: + +- [X](https://x.com/0xProject) +- [YouTube](https://www.youtube.com/c/0xProject) +- [Warpcast](https://warpcast.com/0xproject) diff --git a/fern/docs/pages/introduction/demo-apps.mdx b/fern/docs/pages/introduction/demo-apps.mdx deleted file mode 100644 index 9352c471..00000000 --- a/fern/docs/pages/introduction/demo-apps.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Demo Apps -url: "https://github.com/0xProject/0x-examples" ---- diff --git a/fern/docs/pages/introduction/getting-started.mdx b/fern/docs/pages/introduction/getting-started.mdx index 9cb830b6..e30f5ded 100644 --- a/fern/docs/pages/introduction/getting-started.mdx +++ b/fern/docs/pages/introduction/getting-started.mdx @@ -511,11 +511,9 @@ The response includes comprehensive details for each trade, including the transa ## 6. Have a Question? -If you are logged-in to the [0x Dashboard](https://dashboard.0x.org/apps), you have a direct line to our team via the Intercom Messenger for Developer Support in the bottom right of the dashboard. +If you are logged-in to the [0x Dashboard](https://dashboard.0x.org/apps), you have a direct line to our team via the Pylon Messenger for Developer Support in the bottom right of the dashboard. - - Intercom Messenger - +![Pylon Messenger](../../assets/img/help/pylon.gif "Pylon Messenger demo") Additionally, the [0x Help Center](https://help.0x.org/) is a great place to start if you have questions about 0x subscriptions, integration best practicies, and troubleshooting guides. diff --git a/fern/docs/pages/trade-analytics-api/trade-analytics-faq.mdx b/fern/docs/pages/trade-analytics-api/trade-analytics-faq.mdx deleted file mode 100644 index 48bec7d7..00000000 --- a/fern/docs/pages/trade-analytics-api/trade-analytics-faq.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: FAQ -url: "/docs/introduction/faq#trade-analytics-api" ----