Skip to content

Commit

Permalink
chore: move specs to docs folder (supabase#20136)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcodez authored Jan 3, 2024
1 parent 8e7f30d commit 129b3d9
Show file tree
Hide file tree
Showing 129 changed files with 1,522 additions and 294 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker
examples
i18n
**/node_modules
spec
apps/docs/spec
supabase
tests

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- '.github/workflows/search.yml'
- 'supabase/migrations/**'
- 'apps/docs/**'
- 'spec/**'
workflow_dispatch:
inputs:
refresh:
Expand Down Expand Up @@ -39,7 +38,6 @@ jobs:
with:
sparse-checkout: |
apps/docs
spec
supabase
- name: Setup node
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
package-lock.json
docker*
apps/**/out
apps/docs/spec/**
# prettier-plugin-sql-cst only supports sqlite syntax
**/supabase/migrations/*.sql
apps/www/schema.sql
Expand Down
36 changes: 24 additions & 12 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# Developing Supabase

1. [Getting started](#getting-started)
- [Install dependencies](#install-dependencies)
2. [Local development](#local-development)
- [Fork the repo](#fork-the-repo)
- [Clone the repo](#clone-the-repo)
- [Running turborepo](#running-turborepo)
- [Shared components](#shared-components)
- [Installing packages](#installing-packages)
- [New Supabase docs](#new-supabase-docs)
3. [Create a pull request](#create-a-pull-request)
- [Developing Supabase](#developing-supabase)
- [Getting started](#getting-started)
- [Install dependencies](#install-dependencies)
- [Local development](#local-development)
- [Fork the repo](#fork-the-repo)
- [Clone the repo](#clone-the-repo)
- [Install dependencies](#install-dependencies-1)
- [Running sites individually](#running-sites-individually)
- [Shared components](#shared-components)
- [Installing packages](#installing-packages)
- [Running Docker for Supabase Studio](#running-docker-for-supabase-studio)
- [Prerequsites](#prerequsites)
- [Get Started](#get-started)
- [Create a pull request](#create-a-pull-request)
- [Issue assignment](#issue-assignment)
- [Common tasks](#common-tasks)
- [Add a redirect](#add-a-redirect)
- [Federated docs](#federated-docs)
- [Community channels](#community-channels)
- [Contributors](#contributors)

- [Common tasks](#common-tasks)
- [Add a redirect](#add-a-redirect)
Expand Down Expand Up @@ -86,10 +96,12 @@ npm run dev:www

The monorepo has a set of shared components under `/packages`:

- `/packages/common`: Common React components, shared between all sites.
- `/packages/ai-commands`: Helpers/Commands for AI related functions
- `/packages/common`: Common React components, shared between all sites
- `/packages/config`: All shared config
- `/packages/spec`: Generates documentation using spec files.
- `/packages/shared-data`: Shared data that can be used across all apps
- `/packages/tsconfig`: Shared Typescript settings
- `/packages/ui`: Common UI components

#### Installing packages

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can usually identify a federated or reference doc because it uses a Next.js
Example spec file import:

```js
import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
```

Example repo definition:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useCommonSections(commonSectionsFile: string) {
const commonSections = await import(
/* webpackInclude: /common-.*\.json$/ */
/* webpackMode: "lazy" */
`~/../../spec/${commonSectionsFile}`
`~/spec/${commonSectionsFile}`
)
setCommonSections(commonSections.default)
}
Expand Down Expand Up @@ -80,7 +80,7 @@ export function useSpec(specFile?: string) {
const spec = await import(
/* webpackInclude: /supabase_.*\.ya?ml$/ */
/* webpackMode: "lazy" */
`~/../../spec/${specFile}`
`~/spec/${specFile}`
)
setSpec(spec.default)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRouter } from 'next/router'
import { IconChevronLeft } from 'ui'
import * as NavItems from './NavigationMenu.constants'

import clientLibsCommon from '~/../../spec/common-cli.yml' assert { type: 'yml' }
import clientLibsCommon from '~/spec/common-cli.yml' assert { type: 'yml' }

const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
const router = useRouter()
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/reference/CLICommandSection.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ReactMarkdown from 'react-markdown'
import { CodeBlock, IconChevronRight, Tabs } from 'ui'
import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' }
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' }
import Options from '~/components/Options'
import Param from '~/components/Params'
import RefSubLayout from '~/layouts/ref/RefSubLayout'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import RefSubLayout from '~/layouts/ref/RefSubLayout'

import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yaml' }
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yaml' }
import Param from '~/components/Params'
import Options from '~/components/Options'

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docs/ref/python/installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: installing
title: 'Installing'
slug: installing
custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_py_v2.yml
custom_edit_url: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_py_v2.yml
---

### Install with PyPi
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/generator/legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import * as yaml from 'js-yaml'
import { flattenSections } from '../lib/helpers'

const commonDocSpecJson = JSON.parse(
fs.readFileSync('../../spec/common-client-libs-sections.json', 'utf8')
fs.readFileSync('spec/common-client-libs-sections.json', 'utf8')
)

const flattenedCommonDocSpecJson = flattenSections(commonDocSpecJson)
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/internals/files/api.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sections from '../../../../spec/common-api-sections.json' assert { type: 'json' }
import sections from '../../spec/common-api-sections.json' assert { type: 'json' }
import { flattenSections } from '../helpers.mjs'

const flatSections = flattenSections(sections)
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/internals/files/cli.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import fs from 'fs'
import yaml from 'js-yaml'
import cliCommonSections from '../../../../spec/common-cli-sections.json' assert { type: 'json' }
import cliCommonSections from '../../spec/common-cli-sections.json' assert { type: 'json' }
import { flattenSections } from '../helpers.mjs'

const flatCLISections = flattenSections(cliCommonSections)

const cliSpec = yaml.load(fs.readFileSync(`../../spec/cli_v1_commands.yaml`, 'utf8'))
const cliSpec = yaml.load(fs.readFileSync(`spec/cli_v1_commands.yaml`, 'utf8'))

export function generateCLIPages() {
let cliPages = []
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/internals/files/reference-lib.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs'

import yaml from 'js-yaml'
import commonLibSections from '../../../../spec/common-client-libs-sections.json' assert { type: 'json' }
import commonLibSections from '../../spec/common-client-libs-sections.json' assert { type: 'json' }
import { flattenSections } from '../helpers.mjs'

const flatCommonLibSections = flattenSections(commonLibSections)
Expand All @@ -18,7 +18,7 @@ const clientLibFiles = [
export function generateReferencePages() {
let refPages = []
clientLibFiles.map((file) => {
const spec = yaml.load(fs.readFileSync(`../../spec/${file.fileName}.yml`, 'utf8'))
const spec = yaml.load(fs.readFileSync(`spec/${file.fileName}.yml`, 'utf8'))
spec.functions.map((fn) => {
const slug = flatCommonLibSections.find((item) => item.id === fn.id)?.slug
refPages.push(`reference/${file.label}/${file.versionSlug ? file.version + '/' : ''}${slug}`)
Expand Down
10 changes: 5 additions & 5 deletions apps/docs/lib/mdx/getConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import specStorageV0 from '~/../../spec/storage_v0_config.yaml' assert { type: 'yml' }
import specRealtimeV0 from '~/../../spec/realtime_v0_config.yaml' assert { type: 'yml' }
import specAuthV1 from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' }
import specAnalyticsV0 from '~/../../spec/analytics_v0_config.yaml' assert { type: 'yml' }
import specFunctionsV0 from '~/../../spec/functions_v0_config.yaml' assert { type: 'yml' }
import specStorageV0 from '~/spec/storage_v0_config.yaml' assert { type: 'yml' }
import specRealtimeV0 from '~/spec/realtime_v0_config.yaml' assert { type: 'yml' }
import specAuthV1 from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' }
import specAnalyticsV0 from '~/spec/analytics_v0_config.yaml' assert { type: 'yml' }
import specFunctionsV0 from '~/spec/functions_v0_config.yaml' assert { type: 'yml' }

function getStorageConfigV0() {
return { ...specStorageV0 }
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/guides/cli/config.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import specFile from '~/../../spec/cli_v1_config.yaml' assert { type: 'yml' }
import specFile from '~/spec/cli_v1_config.yaml' assert { type: 'yml' }
import { Parameter } from '~/lib/refGenerator/refTypes'
import ReactMarkdown from 'react-markdown'
import GuidesTableOfContents from '~/components/GuidesTableOfContents'
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/reference/analytics/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
import { gen_v3, enrichedOperation } from '~/lib/refGenerator/helpers'
import { Tabs, CodeBlock } from 'ui'

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/reference/analytics/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import components from '~/components/index'
import { MDXRemote } from 'next-mdx-remote'
import { serialize } from 'next-mdx-remote/serialize'

import specFile from '~/../../spec/analytics_v0_config.yaml' assert { type: 'yml' }
import specFile from '~/spec/analytics_v0_config.yaml' assert { type: 'yml' }
import { Parameter } from '~/lib/refGenerator/refTypes'

import ReactMarkdown from 'react-markdown'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/api/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import apiCommonSections from '~/../../spec/common-api-sections.json' assert { type: 'json' }
import specFile from '~/../../spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' }
import apiCommonSections from '~/spec/common-api-sections.json' assert { type: 'json' }
import specFile from '~/spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/reference/auth/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CodeBlock, Tabs } from 'ui'
import specFile from '~/../../spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' }
import specFile from '~/spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' }
import { gen_v3 } from '~/lib/refGenerator/helpers'

import RefSubLayout from '~/layouts/ref/RefSubLayout'
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/reference/auth/config.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import specFile from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' }
import specFile from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' }
import { Parameter } from '~/lib/refGenerator/refTypes'
import ReactMarkdown from 'react-markdown'
import Head from 'next/head'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/cli/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' }
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' }

import { flattenSections } from '~/lib/helpers'

import cliCommonSections from '~/../../spec/common-cli-sections.json' assert { type: 'json' }
import cliCommonSections from '~/spec/common-cli-sections.json' assert { type: 'json' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/csharp/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/csharp/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/csharp/v0/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/dart/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/dart/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/dart/v1/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/javascript/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/javascript/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/javascript/v1/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v1/combined.json'
import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v1/combined.json'
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/kotlin/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/reference/kotlin/v1/[...slug].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
import spec from '~/../../spec/supabase_kt_v1.yml' assert { type: 'yml' }
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
import spec from '~/spec/supabase_kt_v1.yml' assert { type: 'yml' }
import RefSectionHandler from '~/components/reference/RefSectionHandler'
import { flattenSections } from '~/lib/helpers'
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
Expand Down
Loading

0 comments on commit 129b3d9

Please sign in to comment.