mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
77 lines
2.1 KiB
JavaScript
77 lines
2.1 KiB
JavaScript
/* eslint-disable no-process-env */
|
|
import { withGuildDocs } from '@theguild/components/next.config';
|
|
|
|
export default withGuildDocs({
|
|
basePath: process.env.NEXT_BASE_PATH,
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
redirects: async () => [
|
|
{
|
|
source: '/docs/get-started/organizations',
|
|
destination: '/docs/management/organizations',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/get-started/projects',
|
|
destination: '/docs/management/projects',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/get-started/targets',
|
|
destination: '/docs/management/targets',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/tokens',
|
|
destination: '/docs/management/targets#manage-tokens',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/publish-schema',
|
|
destination: '/docs/features/schema-registry#publish-a-schema',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/checking-schema',
|
|
destination: '/docs/features/schema-registry#check-a-schema',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/delete-schema',
|
|
destination: '/docs/features/schema-registry#delete-a-service',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/registry-usage',
|
|
destination: '/docs/features/high-availability-cdn',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/monitoring',
|
|
destination: '/docs/features/usage-reporting',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/schema-history',
|
|
destination: '/docs/features/schema-registry#schema-history-and-changelog',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/integrations',
|
|
destination: '/docs/management/organizations#integrations',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/alerts-notifications',
|
|
destination: '/docs/management/projects#alerts-and-notifications',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/docs/features/external-schema-composition',
|
|
destination: '/docs/management/external-schema-composition',
|
|
permanent: true,
|
|
},
|
|
],
|
|
swcMinify: true,
|
|
});
|