From 8ad1be97b37c9b4de3f983921352a7f58e045ead Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Wed, 6 Jul 2022 11:58:43 +0800 Subject: [PATCH 1/2] website: Throw errors if broken links found Signed-off-by: Xuanwo --- docs/doc/21-load-data/01-s3.md | 2 +- docs/doc/21-load-data/02-stage.md | 4 ++-- docs/doc/70-performance/00-local-vector-performance.md | 2 +- docs/doc/70-performance/05-scw-os-performance.md | 4 ++-- website/docusaurus.config.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/doc/21-load-data/01-s3.md b/docs/doc/21-load-data/01-s3.md index c8fce76ac3e5..23ecdb1bf99d 100644 --- a/docs/doc/21-load-data/01-s3.md +++ b/docs/doc/21-load-data/01-s3.md @@ -14,7 +14,7 @@ Databend [COPY](../30-reference/30-sql/10-dml/dml-copy-into-table.md) command ca ### Before You Begin * **AWS Account:** This Quickstart uses Amazon S3 and requires an AWS account’s *`access key id`* and *`secret access key`*. -* **Databend :** Make sure Databend is running and accessible, please see [Deploy Databend With S3](/doc/deploy/s3). +* **Databend :** Make sure Databend is running and accessible, please see [Deploy Databend](../10-deploy/00-understanding-deployment-modes.md). ### Step 1. Data Files for Loading diff --git a/docs/doc/21-load-data/02-stage.md b/docs/doc/21-load-data/02-stage.md index 34661d0c1153..ae04cbb084cd 100644 --- a/docs/doc/21-load-data/02-stage.md +++ b/docs/doc/21-load-data/02-stage.md @@ -11,7 +11,7 @@ description: ### Before You Begin -* **Databend :** Make sure Databend is running and accessible, see [Deploy Databend With MinIO](/doc/deploy/minio). +* **Databend :** Make sure Databend is running and accessible, see [Deploy Databend](../10-deploy/00-understanding-deployment-modes.md). ### Step 1. Create Stage Object @@ -153,7 +153,7 @@ CREATE TABLE books ### Step 5. Copy Data into the Target Tables -Execute [COPY](/doc/reference/sql/dml/dml-copy) to load staged files to the target table. +Execute [COPY](../30-reference/30-sql/10-dml/dml-copy-into-table.md) to load staged files to the target table. diff --git a/docs/doc/70-performance/00-local-vector-performance.md b/docs/doc/70-performance/00-local-vector-performance.md index caeedf626ae2..d6b5b328a338 100644 --- a/docs/doc/70-performance/00-local-vector-performance.md +++ b/docs/doc/70-performance/00-local-vector-performance.md @@ -28,4 +28,4 @@ description: -Experience 100 billion performance on your laptop, [talk is cheap just bench it](../10-deploy/00-local.md) +Experience 100 billion performance on your laptop, [talk is cheap just bench it](../10-deploy/00-understanding-deployment-modes.md) diff --git a/docs/doc/70-performance/05-scw-os-performance.md b/docs/doc/70-performance/05-scw-os-performance.md index 95106db49759..674b88136090 100644 --- a/docs/doc/70-performance/05-scw-os-performance.md +++ b/docs/doc/70-performance/05-scw-os-performance.md @@ -12,7 +12,7 @@ description: * Databend: [v0.6.100-nightly](https://github.com/datafuselabs/databend/releases/tag/v0.6.100-nightly) * No Local Caching(Data Caching/Query Result Caching) * Databend is automatic performance optimization with **no manual tuning** required. -* [Analyzing OnTime Datasets with Databend on Scaleway and OS](../10-deploy/06-scw.md) +* [Analyzing OnTime Datasets with Databend on Scaleway and OS](../10-deploy/00-understanding-deployment-modes.md) ::: ## Q1 (0.673 sec., 90.69 million rows/sec., 272.07 MB/sec.) @@ -688,4 +688,4 @@ CALL system$fuse_snapshot('default', 'ontime'); +----------------------------------+------------------+---------------+-------------+-----------+--------------------+------------------+ | dd5685ae857f4cbb804d76b0513a0ff9 | NULL | 1 | 203 | 202687655 | 146705866574 | 8891053905 | +----------------------------------+------------------+---------------+-------------+-----------+--------------------+------------------+ -``` \ No newline at end of file +``` diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index b25be74e4b3d..b8717596270e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -14,8 +14,8 @@ const config = { tagline: 'The modern Cloud Data Warehouse, activate your object storage(S3, Azure Blob, or MinIO) for real-time analytics.', url: 'https://databend.rs', baseUrl: '/', - onBrokenLinks: 'warn', - onBrokenMarkdownLinks: 'warn', + onBrokenLinks: 'throw', + onBrokenMarkdownLinks: 'throw', favicon: 'img/logo/logo-no-text.svg', organizationName: 'datafuselabs', projectName: 'databend', From 47affd0f6729d6a3f98c56de7d9bee57a0393476 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Wed, 6 Jul 2022 12:03:40 +0800 Subject: [PATCH 2/2] Fix unintended changes Signed-off-by: Xuanwo --- docs/doc/21-load-data/02-stage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/doc/21-load-data/02-stage.md b/docs/doc/21-load-data/02-stage.md index e72c37022d82..a43a0b6b465d 100644 --- a/docs/doc/21-load-data/02-stage.md +++ b/docs/doc/21-load-data/02-stage.md @@ -153,7 +153,7 @@ CREATE TABLE books ### Step 5. Copy Data into the Target Tables -Execute [COPY](/doc/reference/sql/dml/dml-copy) to load staged files to the target table. +Execute [COPY](../30-reference/30-sql/10-dml/dml-copy-into-table.md) to load staged files to the target table.