diff --git a/vercel.json b/vercel.json index e3601b1f34d..36f50055337 100644 --- a/vercel.json +++ b/vercel.json @@ -222,6 +222,10 @@ { "source": "/docs/resources", "destination": "/docs/guides" }, + { "source": "/docs/reference/postgres/getting-started", "destination": "/docs/guides/database/introduction" }, + { "source": "/reference/postgres/connection-strings", "destination": "/docs/guides/database/connecting/connecting-to-postgres" }, + { "source": "/docs/reference/postgres/schemas", "destination": "/docs/guides/database/tables" }, + { "source": "/docs/reference/postgres/tables", "destination": "/docs/guides/database/tables" }, { "source": "/docs/guides/database/resource-management", "destination": "/docs/guides/database/timeouts" }, { "source": "/docs/reference/postgres/database-passwords", "destination": "/docs/guides/database/managing-passwords" }, { "source": "/docs/reference/postgres/changing-timezones", "destination": "/docs/guides/database/managing-timezones" }, diff --git a/web/package.json b/web/package.json index a1775c8db6e..4576f3c6626 100644 --- a/web/package.json +++ b/web/package.json @@ -7,7 +7,7 @@ "build": "npm run gen:all && docusaurus build", "swizzle": "docusaurus swizzle", "traction": "node traction.js", - "gen:all": "npm run gen:supabase && npm run gen:postgres && npm run gen:cli", + "gen:all": "npm run gen:supabase && npm run gen:cli", "gen:supabase": "ts-node ReferenceGenerator.ts -o docs/reference/javascript spec/supabase.yml", "gen:cli": "ts-node ReferenceGenerator.ts -o docs/reference/cli spec/cli.yml", "gen:postgres": "ts-node ReferenceGenerator.ts -o docs/reference/postgres spec/postgres.yml" diff --git a/web/sidebars.js b/web/sidebars.js index 51101c00bdc..137ecd95776 100755 --- a/web/sidebars.js +++ b/web/sidebars.js @@ -7,7 +7,7 @@ const supabaseClient = require('./sidebar_spec_supabase') const supabaseCli = require('./sidebar_spec_cli') -const postgres = require('./sidebar_spec_postgres') +// const postgres = require('./sidebar_spec_postgres') module.exports = { supabaseClient: [ @@ -17,12 +17,12 @@ module.exports = { collapsed: false, items: supabaseClient.docs, }, - { - type: 'category', - label: 'Postgres', - collapsed: false, - items: postgres.docs, - }, + // { + // type: 'category', + // label: 'Postgres', + // collapsed: false, + // items: postgres.docs, + // }, { type: 'category', label: 'CLI',