-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2615 from ClickHouse/nodejs-broken-redirect
nodejs client. add redirect for an old url
- Loading branch information
Showing
1 changed file
with
45 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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...', | ||
|
@@ -86,7 +86,7 @@ const config = { | |
sidebarCollapsed: true, | ||
routeBasePath: '/', | ||
remarkPlugins: [math], | ||
rehypePlugins: [katex], | ||
rehypePlugins: [katex], | ||
}, | ||
blog: { | ||
path: 'knowledgebase', | ||
|
@@ -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} */ | ||
({ | ||
|
@@ -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: [ | ||
|
@@ -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', | ||
|
@@ -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' | ||
}, | ||
{ | ||
|
@@ -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', | ||
|
@@ -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', | ||
|
@@ -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: '/' | ||
} | ||
|