Skip to content

Commit

Permalink
Merge pull request #2615 from ClickHouse/nodejs-broken-redirect
Browse files Browse the repository at this point in the history
nodejs client. add redirect for an old url
  • Loading branch information
justindeguzman authored Sep 3, 2024
2 parents ad1179b + 4e510aa commit 3e479c8
Showing 1 changed file with 45 additions and 38 deletions.
83 changes: 45 additions & 38 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ const config = {
"data-project-name": "ClickHouse",
"data-project-color": "#151515",
"data-project-logo": "https://avatars.githubusercontent.com/u/54801242?s=200&v=4",
"data-modal-disclaimer":"This is a custom LLM for ClickHouse with access to all developer documentation, open GitHub Issues, YouTube videos, and resolved StackOverflow posts. Please note that answers are generated by AI and may not be fully accurate, so please use your best judgement.",
"data-modal-example-questions":"How to speed up queries?,How to use materialized views?",
"data-modal-disclaimer": "This is a custom LLM for ClickHouse with access to all developer documentation, open GitHub Issues, YouTube videos, and resolved StackOverflow posts. Please note that answers are generated by AI and may not be fully accurate, so please use your best judgement.",
"data-modal-example-questions": "How to speed up queries?,How to use materialized views?",
"data-kapa-branding-hide": "true",
async: true,
}],
stylesheets: [
{
href: "https://unpkg.com/@antonz/[email protected]/dist/snippet.css",
},
],
{
href: "https://unpkg.com/@antonz/[email protected]/dist/snippet.css",
},
],
webpack: {
jsLoader: (isServer) => ({
loader: require.resolve('esbuild-loader'),
options: {
loader: 'tsx',
target: isServer ? 'node12' : 'es2017',
},
loader: require.resolve('esbuild-loader'),
options: {
loader: 'tsx',
target: isServer ? 'node12' : 'es2017',
},
}),
},
},
title: 'ClickHouse Docs',
tagline:
'Documentation, quick starts, user guides, technical references, FAQs and more...',
Expand Down Expand Up @@ -86,7 +86,7 @@ const config = {
sidebarCollapsed: true,
routeBasePath: '/',
remarkPlugins: [math],
rehypePlugins: [katex],
rehypePlugins: [katex],
},
blog: {
path: 'knowledgebase',
Expand Down Expand Up @@ -128,16 +128,16 @@ const config = {
}),
],
],
stylesheets:
[
{
href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css',
type: 'text/css',
integrity:
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
crossorigin: 'anonymous',
},
],
stylesheets:
[
{
href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css',
type: 'text/css',
integrity:
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
crossorigin: 'anonymous',
},
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down Expand Up @@ -268,14 +268,14 @@ const config = {
defaultMode: 'dark',
},
/* announcementBar: {
id: 'support_us',
content:
'Check out our new 25-minute video on <a href="https://clickhouse.com/company/events/getting-started-with-clickhouse/" target="_blank"> Getting Started with ClickHouse</a>',
backgroundColor: '#0057b7',
textColor: '#ffffff',
isCloseable: false,
},
*/
id: 'support_us',
content:
'Check out our new 25-minute video on <a href="https://clickhouse.com/company/events/getting-started-with-clickhouse/" target="_blank"> Getting Started with ClickHouse</a>',
backgroundColor: '#0057b7',
textColor: '#ffffff',
isCloseable: false,
},
*/
}),

plugins: [
Expand Down Expand Up @@ -546,6 +546,10 @@ const config = {
from: '/en/connect-a-ui/tableau-and-clickhouse',
to: '/en/integrations/tableau',
},
{
from: '/en/integrations/language-clients/javascript',
to: '/en/integrations/javascript'
},
{
from: '/en/integrations/language-clients/python/intro',
to: '/en/integrations/python',
Expand All @@ -566,7 +570,8 @@ const config = {
from: '/en/integrations/language-clients/python/options',
to: '/en/integrations/python',
},
{ from: '/en/integrations/go/intro',
{
from: '/en/integrations/go/intro',
to: '/en/integrations/go'
},
{
Expand Down Expand Up @@ -674,7 +679,7 @@ const config = {
from: '/en/guides/sre/configuring-s3-for-clickhouse-use',
to: '/en/integrations/s3',
},
{ from: '/en/guides/sre/s3-multi-region', to: '/en/integrations/s3' },
{ from: '/en/guides/sre/s3-multi-region', to: '/en/integrations/s3' },
{
from: '/en/guides/sre/gcs-multi-region',
to: '/en/integrations/gcs',
Expand Down Expand Up @@ -1177,8 +1182,10 @@ const config = {
from: '/en/introduction/possible_silly_questions',
to: '/knowledgebase',
},
{ from: '/en/getting_started',
to: '/en/getting-started/quick-start' },
{
from: '/en/getting_started',
to: '/en/getting-started/quick-start'
},
{
from: '/en/guides/ingest/tab_separated_values',
to: '/en/getting-started/example-datasets/nypd_complaint_data',
Expand Down Expand Up @@ -2284,15 +2291,15 @@ const config = {
from: '/knowledgebase/troubleshooting',
to: '/en/faq/troubleshooting'
},
{
{
from: '/en/single',
to: '/en/sql-reference/statements/create/view'
},
{
{
from: '/en/architecture/single-node-deployment',
to: '/en/install'
},
{
{
from: '/en/home',
to: '/'
}
Expand Down

0 comments on commit 3e479c8

Please sign in to comment.