The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: update version and reformat code
Hieu Vue839bd08cd75
diff --git a/apps/docs/components/index.tsx b/apps/docs/components/index.tsxindex f255dcd1455..e47b7800c63 100644--- a/apps/docs/components/index.tsx+++ b/apps/docs/components/index.tsx@@ -23,7 +23,6 @@ import SocialProviderSettingsSupabase from './MDX/social_provider_settings_supabimport SocialProviderSetup from './MDX/social_provider_setup.mdx'import StorageManagement from './MDX/storage_management.mdx'import KotlinProjectSetup from './MDX/kotlin_project_setup.mdx'-import { CH } from '@code-hike/mdx/components'import RefHeaderSection from './reference/RefHeaderSection'// Ref version specific@@ -60,7 +59,6 @@ const components = {Admonition,Button,ButtonCard,- CH,CodeBlock,GlassPanel,Link,diff --git a/apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdx b/apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdxindex ba4c38b92d1..38642fa6321 100644--- a/apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdx+++ b/apps/docs/pages/guides/getting-started/quickstarts/kotlin.mdx@@ -61,7 +61,7 @@ export const meta = {<a href="https://github.com/supabase-community/supabase-kt/releases" style={{ marginRight: '8px' }}><img src="https://img.shields.io/github/release/supabase-community/supabase-kt?label=supabase-kt stable" alt="latest stable supabase-kt version"/></a>- <a href="https://github.com/supabase-community/supabase-kt/releases">+ <a href="https://github.com/ktorio/ktor/releases"><img src="https://img.shields.io/github/v/release/ktorio/ktor.svg?label=ktor" alt="latest ktor version"/></a></div>@@ -85,15 +85,17 @@ export const meta = {<StepHikeCompact.Step step={4}><StepHikeCompact.Details title="Install the serializable plugin">- Open `build.gradle` (app), add serialization plugin to use annotation for data parsing-+ Open `build.gradle` (app), add serialization plugin to use annotation for data parsing. Please note that the plugin version should be the same with Kotlin version in your app.+ <a href="https://github.com/JetBrains/kotlin" style={{ marginRight: '8px' }}>+ <img src="https://img.shields.io/maven-central/v/org.jetbrains.kotlin/kotlin-maven-plugin.svg?label=kotlin_version" alt="latest stable supabase-kt version"/>+ </a></StepHikeCompact.Details><StepHikeCompact.Code>```kotlinplugins {...- id 'org.jetbrains.kotlin.plugin.serialization' version '1.7.0'+ id 'org.jetbrains.kotlin.plugin.serialization' version '$kotlin_version'...}```@@ -115,7 +117,8 @@ export const meta = {// Handy create instance when needval client = createSupabaseClient(supabaseUrl = "https://xyzcompany.supabase.co",- supabaseKey = "public-anon-key") {+ supabaseKey = "public-anon-key"+ ) {install(GoTrue)install(Postgrest)install(Storage)diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdxindex 08df410a6c3..d523f227ee7 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-kotlin.mdx@@ -88,11 +88,14 @@ implementation "io.ktor:ktor-client-cio:$ktor_version"implementation "io.ktor:ktor-utils-jvm:$ktor_version"```-Also in build.gradle (app) file, add plugin for serialization+Also in build.gradle (app) file, add plugin for serialization. The version of this plugin should be the same with Kotlin version+<a href="https://github.com/JetBrains/kotlin" style={{ marginRight: '8px' }}>+ <img src="https://img.shields.io/maven-central/v/org.jetbrains.kotlin/kotlin-maven-plugin.svg?label=kotlin_version" alt="latest stable supabase-kt version"/>+</a>```kotlinplugins {...- id 'org.jetbrains.kotlin.plugin.serialization' version '1.7.0'+ id 'org.jetbrains.kotlin.plugin.serialization' version '$kotlin_version'...}```