From 045d2634d845ce78a2d2fe18062f9f2c2eb891d7 Mon Sep 17 00:00:00 2001 From: justindeguzman Date: Thu, 25 Jul 2024 11:23:40 -0700 Subject: [PATCH] Fix broken JSON links --- .../data-ingestion/data-formats/json.md | 8 ------- docusaurus.config.js | 22 ++++++++++++------- 2 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 docs/en/integrations/data-ingestion/data-formats/json.md diff --git a/docs/en/integrations/data-ingestion/data-formats/json.md b/docs/en/integrations/data-ingestion/data-formats/json.md deleted file mode 100644 index 27a4f7daf9f..00000000000 --- a/docs/en/integrations/data-ingestion/data-formats/json.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Working with JSON -slug: /en/integrations/data-formats/json -description: Working with JSON in ClickHouse -keywords: [json, clickhouse] ---- - -import Content from '@site/docs/en/integrations/data-ingestion/data-formats/json/intro.md' diff --git a/docusaurus.config.js b/docusaurus.config.js index 566c962742a..32a9db30f96 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -296,6 +296,10 @@ const config = { '@docusaurus/plugin-client-redirects', { redirects: [ + { + from: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview' + }, { from: '/en/faq/marketplace', to: '/en/cloud/marketplace' @@ -562,7 +566,9 @@ const config = { from: '/en/integrations/language-clients/python/options', to: '/en/integrations/python', }, - { from: '/en/integrations/go/intro', to: '/en/integrations/go' }, + { from: '/en/integrations/go/intro', + to: '/en/integrations/go' + }, { from: '/en/integrations/go/choosing-a-client', to: '/en/integrations/go', @@ -668,7 +674,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', @@ -788,27 +794,27 @@ const config = { }, { from: '/en/guides/developer/working-with-json', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/guides/developer/working-with-json/json-intro', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/guides/developer/working-with-json/json-load-data', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/guides/developer/working-with-json/json-other-approaches', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/guides/developer/working-with-json/json-semi-structured', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/guides/developer/working-with-json/json-structured', - to: '/en/integrations/data-formats/json', + to: '/en/integrations/data-formats/json/overview', }, { from: '/en/get-started/sql-console/opening',