Skip to content

Commit

Permalink
chore: Remove old integration pages
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed May 14, 2024
1 parent b54a782 commit 7508e52
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 471 deletions.
3 changes: 0 additions & 3 deletions website/components/mdx/plugins/.gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions website/components/pluginData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const ALL_PLUGINS: Plugin[] = [
logoDark: "/images/logos/plugins/firestore-dark.svg",
id: "firestore",
kind: "source",
availability: "free",
availability: "premium",
category: "databases",
},
{
Expand Down Expand Up @@ -304,7 +304,7 @@ export const ALL_PLUGINS: Plugin[] = [
logoDark: "/images/logos/plugins/notion.svg",
id: "notion",
kind: "source",
availability: "free",
availability: "premium",
category: "other",
},
{
Expand Down
9 changes: 0 additions & 9 deletions website/next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { getIntegrationsPaths } = require("./utils/integrations");

/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: "https://docs.cloudquery.io",
Expand Down Expand Up @@ -29,11 +27,4 @@ module.exports = {
},
],
},
additionalPaths: async () => {
const integrationsData = await getIntegrationsPaths();
const integrationsPaths = integrationsData.map(({ params: { slug } }) => {
return { loc: `/integrations/${slug.join("/")}`};
})
return integrationsPaths;
},
};
2 changes: 0 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"private": true,
"description": "CloudQuery website and docs",
"scripts": {
"predev": "npx tsx ./scripts/prebuild.tsx",
"dev": "next",
"start": "next start",
"prebuild": "npx tsx ./scripts/prebuild.tsx",
"build": "next build",
"postbuild": "next-sitemap",
"lint": "next lint"
Expand Down
102 changes: 0 additions & 102 deletions website/pages/integrations/[...slug].mdx

This file was deleted.

13 changes: 0 additions & 13 deletions website/pages/integrations/_meta.json

This file was deleted.

212 changes: 0 additions & 212 deletions website/scripts/prebuild.tsx

This file was deleted.

Loading

0 comments on commit 7508e52

Please sign in to comment.