Skip to content

Commit 129b3d9

Browse files
authored
chore: move specs to docs folder (supabase#20136)
1 parent 8e7f30d commit 129b3d9

File tree

129 files changed

+1522
-294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+1522
-294
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ docker
77
examples
88
i18n
99
**/node_modules
10-
spec
10+
apps/docs/spec
1111
supabase
1212
tests
1313

.github/workflows/search.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
- '.github/workflows/search.yml'
99
- 'supabase/migrations/**'
1010
- 'apps/docs/**'
11-
- 'spec/**'
1211
workflow_dispatch:
1312
inputs:
1413
refresh:
@@ -39,7 +38,6 @@ jobs:
3938
with:
4039
sparse-checkout: |
4140
apps/docs
42-
spec
4341
supabase
4442
4543
- name: Setup node

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ node_modules
44
package-lock.json
55
docker*
66
apps/**/out
7+
apps/docs/spec/**
78
# prettier-plugin-sql-cst only supports sqlite syntax
89
**/supabase/migrations/*.sql
910
apps/www/schema.sql

DEVELOPERS.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
# Developing Supabase
22

3-
1. [Getting started](#getting-started)
4-
- [Install dependencies](#install-dependencies)
5-
2. [Local development](#local-development)
6-
- [Fork the repo](#fork-the-repo)
7-
- [Clone the repo](#clone-the-repo)
8-
- [Running turborepo](#running-turborepo)
9-
- [Shared components](#shared-components)
10-
- [Installing packages](#installing-packages)
11-
- [New Supabase docs](#new-supabase-docs)
12-
3. [Create a pull request](#create-a-pull-request)
3+
- [Developing Supabase](#developing-supabase)
4+
- [Getting started](#getting-started)
5+
- [Install dependencies](#install-dependencies)
6+
- [Local development](#local-development)
7+
- [Fork the repo](#fork-the-repo)
8+
- [Clone the repo](#clone-the-repo)
9+
- [Install dependencies](#install-dependencies-1)
10+
- [Running sites individually](#running-sites-individually)
11+
- [Shared components](#shared-components)
12+
- [Installing packages](#installing-packages)
13+
- [Running Docker for Supabase Studio](#running-docker-for-supabase-studio)
14+
- [Prerequsites](#prerequsites)
15+
- [Get Started](#get-started)
16+
- [Create a pull request](#create-a-pull-request)
17+
- [Issue assignment](#issue-assignment)
18+
- [Common tasks](#common-tasks)
19+
- [Add a redirect](#add-a-redirect)
20+
- [Federated docs](#federated-docs)
21+
- [Community channels](#community-channels)
22+
- [Contributors](#contributors)
1323

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

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

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

94106
#### Installing packages
95107

apps/docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ You can usually identify a federated or reference doc because it uses a Next.js
7777
Example spec file import:
7878

7979
```js
80-
import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
80+
import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
8181
```
8282

8383
Example repo definition:

apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function useCommonSections(commonSectionsFile: string) {
5151
const commonSections = await import(
5252
/* webpackInclude: /common-.*\.json$/ */
5353
/* webpackMode: "lazy" */
54-
`~/../../spec/${commonSectionsFile}`
54+
`~/spec/${commonSectionsFile}`
5555
)
5656
setCommonSections(commonSections.default)
5757
}
@@ -80,7 +80,7 @@ export function useSpec(specFile?: string) {
8080
const spec = await import(
8181
/* webpackInclude: /supabase_.*\.ya?ml$/ */
8282
/* webpackMode: "lazy" */
83-
`~/../../spec/${specFile}`
83+
`~/spec/${specFile}`
8484
)
8585
setSpec(spec.default)
8686
}

apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useRouter } from 'next/router'
33
import { IconChevronLeft } from 'ui'
44
import * as NavItems from './NavigationMenu.constants'
55

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

88
const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => {
99
const router = useRouter()

apps/docs/components/reference/CLICommandSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ReactMarkdown from 'react-markdown'
22
import { CodeBlock, IconChevronRight, Tabs } from 'ui'
3-
import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' }
3+
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' }
44
import Options from '~/components/Options'
55
import Param from '~/components/Params'
66
import RefSubLayout from '~/layouts/ref/RefSubLayout'

apps/docs/components/reference/enrichments/cli/CliGlobalFlagsHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import RefSubLayout from '~/layouts/ref/RefSubLayout'
22

3-
import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yaml' }
3+
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yaml' }
44
import Param from '~/components/Params'
55
import Options from '~/components/Options'
66

apps/docs/docs/ref/python/installing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: installing
33
title: 'Installing'
44
slug: installing
5-
custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_py_v2.yml
5+
custom_edit_url: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_py_v2.yml
66
---
77

88
### Install with PyPi

apps/docs/generator/legacy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import * as yaml from 'js-yaml'
1919
import { flattenSections } from '../lib/helpers'
2020

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

2525
const flattenedCommonDocSpecJson = flattenSections(commonDocSpecJson)

apps/docs/internals/files/api.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sections from '../../../../spec/common-api-sections.json' assert { type: 'json' }
1+
import sections from '../../spec/common-api-sections.json' assert { type: 'json' }
22
import { flattenSections } from '../helpers.mjs'
33

44
const flatSections = flattenSections(sections)

apps/docs/internals/files/cli.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import fs from 'fs'
22
import yaml from 'js-yaml'
3-
import cliCommonSections from '../../../../spec/common-cli-sections.json' assert { type: 'json' }
3+
import cliCommonSections from '../../spec/common-cli-sections.json' assert { type: 'json' }
44
import { flattenSections } from '../helpers.mjs'
55

66
const flatCLISections = flattenSections(cliCommonSections)
77

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

1010
export function generateCLIPages() {
1111
let cliPages = []

apps/docs/internals/files/reference-lib.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs'
22

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

77
const flatCommonLibSections = flattenSections(commonLibSections)
@@ -18,7 +18,7 @@ const clientLibFiles = [
1818
export function generateReferencePages() {
1919
let refPages = []
2020
clientLibFiles.map((file) => {
21-
const spec = yaml.load(fs.readFileSync(`../../spec/${file.fileName}.yml`, 'utf8'))
21+
const spec = yaml.load(fs.readFileSync(`spec/${file.fileName}.yml`, 'utf8'))
2222
spec.functions.map((fn) => {
2323
const slug = flatCommonLibSections.find((item) => item.id === fn.id)?.slug
2424
refPages.push(`reference/${file.label}/${file.versionSlug ? file.version + '/' : ''}${slug}`)

apps/docs/lib/mdx/getConfig.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import specStorageV0 from '~/../../spec/storage_v0_config.yaml' assert { type: 'yml' }
2-
import specRealtimeV0 from '~/../../spec/realtime_v0_config.yaml' assert { type: 'yml' }
3-
import specAuthV1 from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' }
4-
import specAnalyticsV0 from '~/../../spec/analytics_v0_config.yaml' assert { type: 'yml' }
5-
import specFunctionsV0 from '~/../../spec/functions_v0_config.yaml' assert { type: 'yml' }
1+
import specStorageV0 from '~/spec/storage_v0_config.yaml' assert { type: 'yml' }
2+
import specRealtimeV0 from '~/spec/realtime_v0_config.yaml' assert { type: 'yml' }
3+
import specAuthV1 from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' }
4+
import specAnalyticsV0 from '~/spec/analytics_v0_config.yaml' assert { type: 'yml' }
5+
import specFunctionsV0 from '~/spec/functions_v0_config.yaml' assert { type: 'yml' }
66

77
function getStorageConfigV0() {
88
return { ...specStorageV0 }

apps/docs/pages/guides/cli/config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import specFile from '~/../../spec/cli_v1_config.yaml' assert { type: 'yml' }
1+
import specFile from '~/spec/cli_v1_config.yaml' assert { type: 'yml' }
22
import { Parameter } from '~/lib/refGenerator/refTypes'
33
import ReactMarkdown from 'react-markdown'
44
import GuidesTableOfContents from '~/components/GuidesTableOfContents'

apps/docs/pages/reference/analytics/[...slug].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
1+
import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' }
22
import { gen_v3, enrichedOperation } from '~/lib/refGenerator/helpers'
33
import { Tabs, CodeBlock } from 'ui'
44

apps/docs/pages/reference/analytics/config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import components from '~/components/index'
44
import { MDXRemote } from 'next-mdx-remote'
55
import { serialize } from 'next-mdx-remote/serialize'
66

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

1010
import ReactMarkdown from 'react-markdown'

apps/docs/pages/reference/api/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import apiCommonSections from '~/../../spec/common-api-sections.json' assert { type: 'json' }
2-
import specFile from '~/../../spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' }
1+
import apiCommonSections from '~/spec/common-api-sections.json' assert { type: 'json' }
2+
import specFile from '~/spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/auth/[...slug].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CodeBlock, Tabs } from 'ui'
2-
import specFile from '~/../../spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' }
2+
import specFile from '~/spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' }
33
import { gen_v3 } from '~/lib/refGenerator/helpers'
44

55
import RefSubLayout from '~/layouts/ref/RefSubLayout'

apps/docs/pages/reference/auth/config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import specFile from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' }
1+
import specFile from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' }
22
import { Parameter } from '~/lib/refGenerator/refTypes'
33
import ReactMarkdown from 'react-markdown'
44
import Head from 'next/head'

apps/docs/pages/reference/cli/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' }
1+
import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' }
22

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

5-
import cliCommonSections from '~/../../spec/common-cli-sections.json' assert { type: 'json' }
5+
import cliCommonSections from '~/spec/common-cli-sections.json' assert { type: 'json' }
66
import RefSectionHandler from '~/components/reference/RefSectionHandler'
77
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'
88
import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps'

apps/docs/pages/reference/csharp/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/csharp/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/csharp/v0/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/dart/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/dart/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/dart/v1/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/javascript/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/javascript/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/javascript/v1/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v1/combined.json'
3-
import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v1/combined.json'
3+
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/kotlin/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json'
3-
import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json'
3+
import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' }
44
import RefSectionHandler from '~/components/reference/RefSectionHandler'
55
import { flattenSections } from '~/lib/helpers'
66
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

apps/docs/pages/reference/kotlin/v1/[...slug].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json'
2-
import spec from '~/../../spec/supabase_kt_v1.yml' assert { type: 'yml' }
1+
import clientLibsCommonSections from '~/spec/common-client-libs-sections.json'
2+
import spec from '~/spec/supabase_kt_v1.yml' assert { type: 'yml' }
33
import RefSectionHandler from '~/components/reference/RefSectionHandler'
44
import { flattenSections } from '~/lib/helpers'
55
import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths'

0 commit comments

Comments
 (0)