Skip to content

Commit ceff83f

Browse files
dont run embeeded api docs update in dev
1 parent 23ab5be commit ceff83f

File tree

3 files changed

+22
-260
lines changed

3 files changed

+22
-260
lines changed

docusaurus/docusaurus.config.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ const darkCodeTheme = prismThemes.dracula;
3131
const config: Config = {
3232
future: {
3333
experimental_faster: {
34+
swcJsLoader: true,
35+
swcJsMinimizer: true,
36+
swcHtmlMinimizer: true,
37+
lightningCssMinimizer: true,
38+
mdxCrossCompilerCache: true,
3439
rspackBundler: true,
3540
rspackPersistentCache: true,
36-
swcJsMinimizer: true,
37-
swcJsLoader: true,
3841
},
3942
},
4043
markdown: {
@@ -122,14 +125,6 @@ const config: Config = {
122125
],
123126
],
124127
plugins: [
125-
// [
126-
// "rsdoctor",
127-
// {
128-
// rsdoctorOptions: {
129-
// mode: "lite",
130-
// },
131-
// },
132-
// ],
133128
// This plugin controls "platform" docs, which are versioned
134129
[
135130
"@docusaurus/plugin-content-docs",
@@ -138,7 +133,13 @@ const config: Config = {
138133
path: "../docs/platform",
139134
routeBasePath: "/platform",
140135
sidebarPath: "./sidebar-platform.js",
141-
editUrl: ({ version, docPath }) => {
136+
editUrl: ({
137+
version,
138+
docPath,
139+
}: {
140+
version: string;
141+
docPath: string;
142+
}) => {
142143
if (version === "current") {
143144
// For the "next" (unreleased) version
144145
return `https://github.com/airbytehq/airbyte/edit/master/docs/platform/${docPath}`;

docusaurus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"cleanup-cache": "node src/scripts/cleanup-cache.js",
1010
"prebuild": "pnpm run prepare-sidebar && pnpm run prepare-embedded-api",
1111
"postbuild": "pnpm run cleanup-cache",
12-
"prestart": "pnpm run prepare-sidebar && pnpm run prepare-embedded-api",
12+
"prestart": "pnpm run prepare-sidebar",
1313
"docusaurus": "docusaurus",
1414
"start": "node src/scripts/fetchSchema.js && docusaurus start --port 3005",
1515
"build": "node src/scripts/fetchSchema.js && docusaurus build",

docusaurus/src/data/embedded_api_spec.json

Lines changed: 9 additions & 248 deletions
Original file line numberDiff line numberDiff line change
@@ -6971,95 +6971,6 @@
69716971
}
69726972
}
69736973
},
6974-
"/api/v1/internal/account/organizations/{organization_id}/signup": {
6975-
"post": {
6976-
"tags": ["Organizations"],
6977-
"summary": "Organization Signup",
6978-
"description": "Sign up an organization with synchronous provisioning.\nSets up Orb billing, Stigg subscription, and payment status in a single request.\nReturns immediately with subscription details.",
6979-
"operationId": "create_internal_account_organizations_organization_id_signup",
6980-
"security": [
6981-
{
6982-
"HTTPBearer": []
6983-
}
6984-
],
6985-
"parameters": [
6986-
{
6987-
"name": "organization_id",
6988-
"in": "path",
6989-
"required": true,
6990-
"schema": {
6991-
"type": "string",
6992-
"format": "uuid",
6993-
"title": "Organization Id"
6994-
}
6995-
},
6996-
{
6997-
"name": "x-organization-id",
6998-
"in": "header",
6999-
"required": false,
7000-
"schema": {
7001-
"type": "string",
7002-
"format": "uuid",
7003-
"description": "Select the working organization. Necessary since users can belong to multiple organizations.",
7004-
"title": "X-Organization-Id"
7005-
},
7006-
"description": "Select the working organization. Necessary since users can belong to multiple organizations."
7007-
}
7008-
],
7009-
"responses": {
7010-
"200": {
7011-
"description": "Successful Response",
7012-
"content": {
7013-
"application/json": {
7014-
"schema": {
7015-
"$ref": "#/components/schemas/OrganizationSignupResponse"
7016-
}
7017-
}
7018-
}
7019-
},
7020-
"400": {
7021-
"description": "Bad request",
7022-
"content": {
7023-
"application/json": {
7024-
"schema": {
7025-
"$ref": "#/components/schemas/ApiErrorResponse"
7026-
}
7027-
}
7028-
}
7029-
},
7030-
"403": {
7031-
"description": "Forbidden",
7032-
"content": {
7033-
"application/json": {
7034-
"schema": {
7035-
"$ref": "#/components/schemas/ApiErrorResponse"
7036-
}
7037-
}
7038-
}
7039-
},
7040-
"422": {
7041-
"description": "Unprocessable entity",
7042-
"content": {
7043-
"application/json": {
7044-
"schema": {
7045-
"$ref": "#/components/schemas/ApiErrorResponse"
7046-
}
7047-
}
7048-
}
7049-
},
7050-
"500": {
7051-
"description": "Internal server error",
7052-
"content": {
7053-
"application/json": {
7054-
"schema": {
7055-
"$ref": "#/components/schemas/ApiErrorResponse"
7056-
}
7057-
}
7058-
}
7059-
}
7060-
}
7061-
}
7062-
},
70636974
"/api/v1/internal/account/organizations/{organization_id}/subscription": {
70646975
"get": {
70656976
"tags": ["Organizations"],
@@ -7150,85 +7061,6 @@
71507061
}
71517062
}
71527063
},
7153-
"/api/v1/internal/account/signup-if-new-user": {
7154-
"post": {
7155-
"tags": ["Account"],
7156-
"summary": "Signup",
7157-
"description": "Sign up an organization for PAYG billing and provisioning.\nSets up Orb billing, Stigg subscription, and payment status synchronously.\nReturns immediately with success or failure.\n\nThis endpoint is idempotent - if signup is already completed, returns existing subscription data\nwithout attempting to re-provision services.",
7158-
"operationId": "create_internal_account_signup_if_new_user",
7159-
"security": [
7160-
{
7161-
"HTTPBearer": []
7162-
}
7163-
],
7164-
"parameters": [
7165-
{
7166-
"name": "x-organization-id",
7167-
"in": "header",
7168-
"required": false,
7169-
"schema": {
7170-
"type": "string",
7171-
"format": "uuid",
7172-
"description": "Select the working organization. Necessary since users can belong to multiple organizations.",
7173-
"title": "X-Organization-Id"
7174-
},
7175-
"description": "Select the working organization. Necessary since users can belong to multiple organizations."
7176-
}
7177-
],
7178-
"responses": {
7179-
"200": {
7180-
"description": "Successful Response",
7181-
"content": {
7182-
"application/json": {
7183-
"schema": {
7184-
"$ref": "#/components/schemas/OrganizationSignupResponse"
7185-
}
7186-
}
7187-
}
7188-
},
7189-
"400": {
7190-
"description": "Bad request",
7191-
"content": {
7192-
"application/json": {
7193-
"schema": {
7194-
"$ref": "#/components/schemas/ApiErrorResponse"
7195-
}
7196-
}
7197-
}
7198-
},
7199-
"403": {
7200-
"description": "Forbidden",
7201-
"content": {
7202-
"application/json": {
7203-
"schema": {
7204-
"$ref": "#/components/schemas/ApiErrorResponse"
7205-
}
7206-
}
7207-
}
7208-
},
7209-
"422": {
7210-
"description": "Unprocessable entity",
7211-
"content": {
7212-
"application/json": {
7213-
"schema": {
7214-
"$ref": "#/components/schemas/ApiErrorResponse"
7215-
}
7216-
}
7217-
}
7218-
},
7219-
"500": {
7220-
"description": "Internal server error",
7221-
"content": {
7222-
"application/json": {
7223-
"schema": {
7224-
"$ref": "#/components/schemas/ApiErrorResponse"
7225-
}
7226-
}
7227-
}
7228-
}
7229-
}
7230-
}
7231-
},
72327064
"/api/v1/internal/health/check": {
72337065
"get": {
72347066
"tags": ["Health"],
@@ -12575,74 +12407,6 @@
1257512407
"required": ["organizationId", "organizationName", "sso"],
1257612408
"title": "OrganizationInfoResponse"
1257712409
},
12578-
"OrganizationSignupResponse": {
12579-
"properties": {
12580-
"organization_id": {
12581-
"type": "string",
12582-
"format": "uuid",
12583-
"title": "Organization Id"
12584-
},
12585-
"provisioning_state": {
12586-
"type": "string",
12587-
"title": "Provisioning State"
12588-
},
12589-
"orb_subscription_id": {
12590-
"anyOf": [
12591-
{
12592-
"type": "string"
12593-
},
12594-
{
12595-
"type": "null"
12596-
}
12597-
],
12598-
"title": "Orb Subscription Id"
12599-
},
12600-
"stigg_subscription_id": {
12601-
"anyOf": [
12602-
{
12603-
"type": "string"
12604-
},
12605-
{
12606-
"type": "null"
12607-
}
12608-
],
12609-
"title": "Stigg Subscription Id"
12610-
},
12611-
"error_message": {
12612-
"anyOf": [
12613-
{
12614-
"type": "string"
12615-
},
12616-
{
12617-
"type": "null"
12618-
}
12619-
],
12620-
"title": "Error Message"
12621-
},
12622-
"organization_name": {
12623-
"type": "string",
12624-
"title": "Organization Name"
12625-
},
12626-
"first_workspace_id": {
12627-
"type": "string",
12628-
"format": "uuid",
12629-
"title": "First Workspace Id"
12630-
},
12631-
"onboarding_status": {
12632-
"$ref": "#/components/schemas/OnboardingStatusEnum"
12633-
}
12634-
},
12635-
"type": "object",
12636-
"required": [
12637-
"organization_id",
12638-
"provisioning_state",
12639-
"organization_name",
12640-
"first_workspace_id",
12641-
"onboarding_status"
12642-
],
12643-
"title": "OrganizationSignupResponse",
12644-
"description": "Response schema for organization signup endpoint."
12645-
},
1264612410
"OrganizationSubscriptionCreditBlock": {
1264712411
"properties": {
1264812412
"amount": {
@@ -13110,11 +12874,6 @@
1311012874
}
1311112875
],
1311212876
"title": "Selected Streams"
13113-
},
13114-
"annotated": {
13115-
"type": "boolean",
13116-
"title": "Annotated",
13117-
"default": false
1311812877
}
1311912878
},
1312012879
"type": "object",
@@ -13142,11 +12901,6 @@
1314212901
}
1314312902
],
1314412903
"title": "Selected Streams"
13145-
},
13146-
"annotated": {
13147-
"type": "boolean",
13148-
"title": "Annotated",
13149-
"default": false
1315012904
}
1315112905
},
1315212906
"type": "object",
@@ -13608,7 +13362,14 @@
1360813362
]
1360913363
},
1361013364
"catalog_type": {
13611-
"$ref": "#/components/schemas/SonarCatalogSchemaType"
13365+
"anyOf": [
13366+
{
13367+
"$ref": "#/components/schemas/SonarCatalogSchemaType"
13368+
},
13369+
{
13370+
"type": "null"
13371+
}
13372+
]
1361213373
},
1361313374
"query_result": {
1361413375
"anyOf": [
@@ -13621,7 +13382,7 @@
1362113382
}
1362213383
},
1362313384
"type": "object",
13624-
"required": ["id", "name", "source_definition_id", "catalog_type"],
13385+
"required": ["id", "name", "source_definition_id"],
1362513386
"title": "SourceDefinitionCatalogGetResponse"
1362613387
},
1362713388
"SourceDefinitionListResponse": {

0 commit comments

Comments
 (0)