From c7a79272c1d64c3155eab961156d742d4c5b069e Mon Sep 17 00:00:00 2001 From: marknesh Date: Tue, 8 Sep 2026 22:23:10 +0300 Subject: [PATCH 1/3] Refactor client SDK documentation to use PowerSyncCardGroup component --- client-sdks/overview.mdx | 5 +++-- client-sdks/reference/capacitor.mdx | 5 +++-- client-sdks/reference/dotnet.mdx | 5 +++-- client-sdks/reference/flutter.mdx | 6 ++++-- client-sdks/reference/javascript-web.mdx | 5 +++-- client-sdks/reference/kotlin.mdx | 5 +++-- client-sdks/reference/node.mdx | 5 +++-- client-sdks/reference/react-native-and-expo.mdx | 5 +++-- client-sdks/reference/rust.mdx | 5 +++-- client-sdks/reference/swift.mdx | 5 +++-- client-sdks/reference/tauri.mdx | 5 +++-- configuration/app-backend/client-side-integration.mdx | 6 ++++-- shared/components/powersync-card-group.jsx | 7 +++++++ snippets/client-sdks.mdx | 6 ++++-- tools/cli.mdx | 6 ++++-- 15 files changed, 53 insertions(+), 28 deletions(-) create mode 100644 shared/components/powersync-card-group.jsx diff --git a/client-sdks/overview.mdx b/client-sdks/overview.mdx index 9d787f5f6..179eed2da 100644 --- a/client-sdks/overview.mdx +++ b/client-sdks/overview.mdx @@ -5,6 +5,7 @@ sidebarTitle: "Overview" --- import ClientSdks from '/snippets/client-sdks.mdx'; +import { PowerSyncCardGroup } from '/shared/components/powersync-card-group.jsx'; PowerSync provides client SDKs for multiple frameworks. Each SDK manages a local SQLite database that syncs with your backend. @@ -35,7 +36,7 @@ Once you've installed an SDK, these guides cover the core functionality: ## Additional Resources - + Use type-safe ORMs with PowerSync @@ -45,5 +46,5 @@ Once you've installed an SDK, these guides cover the core functionality: Working demo apps and starter templates - + diff --git a/client-sdks/reference/capacitor.mdx b/client-sdks/reference/capacitor.mdx index 93ecaa19c..0b5286c41 100644 --- a/client-sdks/reference/capacitor.mdx +++ b/client-sdks/reference/capacitor.mdx @@ -11,12 +11,13 @@ import JavaScriptCallbackWatch from '/snippets/basic-watch-query-javascript-call import GenerateSchemaAutomatically from '/snippets/generate-schema-automatically.mdx'; import MutationConfirmationWithReturning from '/snippets/javascript-mutation-confirmation-returning.mdx'; import LocalOnly from '/snippets/local-only-escape.mdx'; +import { PowerSyncCardGroup } from '/shared/components/powersync-card-group.jsx'; ```text Build with AI icon="sparkles" wrap Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skills. Then follow the skills to onboard this project to PowerSync using the Capacitor SDK. ``` - + This SDK is distributed via NPM @@ -32,7 +33,7 @@ Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skill Changelog for the SDK - + This SDK is currently in a [**beta** release](/resources/feature-status). diff --git a/client-sdks/reference/dotnet.mdx b/client-sdks/reference/dotnet.mdx index dce36c93b..4498df886 100644 --- a/client-sdks/reference/dotnet.mdx +++ b/client-sdks/reference/dotnet.mdx @@ -9,12 +9,13 @@ import DotNetInstallation from '/snippets/dotnet/installation.mdx'; import DotNetWatch from '/snippets/dotnet/basic-watch-query.mdx'; import GenerateSchemaAutomatically from '/snippets/generate-schema-automatically.mdx'; import LocalOnly from '/snippets/local-only-escape.mdx'; +import { PowerSyncCardGroup } from '/shared/components/powersync-card-group.jsx'; ```text Build with AI icon="sparkles" wrap Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skills. Then follow the skills to onboard this project to PowerSync using the .NET SDK. ``` - + This SDK is distributed via NuGet @@ -34,7 +35,7 @@ Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skill Changelog for the SDK - + This SDK is currently in a [**beta** release](/resources/feature-status). It is production-ready for tested use cases. APIs are stable and breaking changes will be communicated clearly. diff --git a/client-sdks/reference/flutter.mdx b/client-sdks/reference/flutter.mdx index bd6c6aa1a..1e973d568 100644 --- a/client-sdks/reference/flutter.mdx +++ b/client-sdks/reference/flutter.mdx @@ -9,12 +9,14 @@ import FlutterInstallation from '/snippets/flutter/installation.mdx'; import FlutterWatch from '/snippets/flutter/basic-watch-query.mdx'; import GenerateSchemaAutomatically from '/snippets/generate-schema-automatically.mdx'; import LocalOnly from '/snippets/local-only-escape.mdx'; +import { PowerSyncCardGroup } from '/shared/components/powersync-card-group.jsx'; ```text Build with AI icon="sparkles" wrap Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skills. Then follow the skills to onboard this project to PowerSync using the Dart/Flutter SDK. ``` - + + The SDK is distributed via pub.dev @@ -30,7 +32,7 @@ Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skill Changelog for the SDK - + ### Quickstart diff --git a/client-sdks/reference/javascript-web.mdx b/client-sdks/reference/javascript-web.mdx index c79770ba2..a8cece7f1 100644 --- a/client-sdks/reference/javascript-web.mdx +++ b/client-sdks/reference/javascript-web.mdx @@ -11,12 +11,13 @@ import JavaScriptCallbackWatch from '/snippets/basic-watch-query-javascript-call import GenerateSchemaAutomatically from '/snippets/generate-schema-automatically.mdx'; import MutationConfirmationWithReturning from '/snippets/javascript-mutation-confirmation-returning.mdx'; import LocalOnly from '/snippets/local-only-escape.mdx'; +import { PowerSyncCardGroup } from '/shared/components/powersync-card-group.jsx'; ```text Build with AI icon="sparkles" wrap Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skills. Then follow the skills to onboard this project to PowerSync using the JavaScript Web SDK. ``` - + This SDK is distributed via NPM @@ -32,7 +33,7 @@ Install the PowerSync Agent Skills with: npx skills add powersync-ja/agent-skill Changelog for the SDK - + ### Quickstart