Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove old integration pages #17958

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's more cleanup to be done to remove any plugin data from the old Website, but didn't want to dig too deep into it

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
Loading