From bbf24a14a5139e16d3aba4cacd35d2b55a451c1d Mon Sep 17 00:00:00 2001
From: q <787025321@qq.com>
Date: Mon, 11 Aug 2025 18:07:07 +0800
Subject: [PATCH] fix: links
---
...utomating-json-log-loading-with-vector.md} | 0
docs/en/developer/00-drivers/index.md | 30 ++++----
.../00-contributor/_category_.json | 4 +-
...utomating-json-log-loading-with-vector.md} | 0
site-redirects.ts | 4 +
src/components/DocsOverview/index.tsx | 75 ++++++++++---------
src/theme/Footer/index.tsx | 2 +-
7 files changed, 60 insertions(+), 55 deletions(-)
rename docs/cn/tutorials/load/{automating_json_log_loading_with_vector.md => automating-json-log-loading-with-vector.md} (100%)
rename docs/en/tutorials/load/{automating_json_log_loading_with_vector.md => automating-json-log-loading-with-vector.md} (100%)
diff --git a/docs/cn/tutorials/load/automating_json_log_loading_with_vector.md b/docs/cn/tutorials/load/automating-json-log-loading-with-vector.md
similarity index 100%
rename from docs/cn/tutorials/load/automating_json_log_loading_with_vector.md
rename to docs/cn/tutorials/load/automating-json-log-loading-with-vector.md
diff --git a/docs/en/developer/00-drivers/index.md b/docs/en/developer/00-drivers/index.md
index 123d88bf7b..3a49d1354b 100644
--- a/docs/en/developer/00-drivers/index.md
+++ b/docs/en/developer/00-drivers/index.md
@@ -22,26 +22,26 @@ databend://user:pwd@host[:port]/[database][?sslmode=disable][&arg1=value1]
### Connection Examples
-| Deployment | Connection String |
-|------------|-------------------|
-| **Self-hosted** | `databend://user:pwd@host:8000/database?sslmode=disable` |
-| **Databend Cloud** | `databend://user:pwd@host:443/database?warehouse=wh` |
+| Deployment | Connection String |
+| ------------------ | -------------------------------------------------------- |
+| **Self-hosted** | `databend://user:pwd@host:8000/database?sslmode=disable` |
+| **Databend Cloud** | `databend://user:pwd@host:443/database?warehouse=wh` |
### Parameters Reference
-| Parameter | Description | Self-hosted | Databend Cloud | Example |
-|-----------|-------------|-------------|----------------|----------|
-| `sslmode` | SSL mode | `disable` (required) | Not used | `?sslmode=disable` |
-| `warehouse` | Warehouse name | Not used | Required | `?warehouse=compute_wh` |
+| Parameter | Description | Self-hosted | Databend Cloud | Example |
+| ----------- | -------------- | -------------------- | -------------- | ----------------------- |
+| `sslmode` | SSL mode | `disable` (required) | Not used | `?sslmode=disable` |
+| `warehouse` | Warehouse name | Not used | Required | `?warehouse=compute_wh` |
> **Databend Cloud**: [Get connection info →](/guides/cloud/using-databend-cloud/warehouses#obtaining-connection-information)
## Available Drivers
-| Language | Package | Key Features |
-|----------|---------|-------------|
-| **[Python](./python)** | `databend-driver`
`databend-sqlalchemy` | • Sync/async support
• SQLAlchemy dialect
• PEP 249 compatible |
-| **[Go](./golang)** | `databend-go` | • database/sql interface
• Connection pooling
• Bulk operations |
-| **[Node.js](./nodejs)** | `databend-driver` | • TypeScript support
• Promise-based API
• Streaming results |
-| **[Java](./jdbc)** | `databend-jdbc` | • JDBC 4.0 compatible
• Connection pooling
• Prepared statements |
-| **[Rust](./rust)** | `databend-driver` | • Async/await support
• Type-safe queries
• Zero-copy deserialization |
+| Language | Package | Key Features |
+| ----------------------- | ------------------------------------------- | ----------------------------------------------------------------------------- |
+| **[Python](./python)** | `databend-driver`
`databend-sqlalchemy` | • Sync/async support
• SQLAlchemy dialect
• PEP 249 compatible |
+| **[Go](./golang)** | `databend-go` | • database/sql interface
• Connection pooling
• Bulk operations |
+| **[Node.js](./nodejs)** | `databend-driver` | • TypeScript support
• Promise-based API
• Streaming results |
+| **[Java](./jdbc)** | `databend-jdbc` | • JDBC 4.0 compatible
• Connection pooling
• Prepared statements |
+| **[Rust](./rust)** | `databend-driver` | • Async/await support
• Type-safe queries
• Zero-copy deserialization |
diff --git a/docs/en/developer/20-community/00-contributor/_category_.json b/docs/en/developer/20-community/00-contributor/_category_.json
index fbf39db5cc..d68e412da1 100644
--- a/docs/en/developer/20-community/00-contributor/_category_.json
+++ b/docs/en/developer/20-community/00-contributor/_category_.json
@@ -2,6 +2,6 @@
"label": "Contributor's Guide",
"link": {
"type": "generated-index",
- "slug": "/community/contributor"
+ "slug": "/community/contributor/"
}
-}
\ No newline at end of file
+}
diff --git a/docs/en/tutorials/load/automating_json_log_loading_with_vector.md b/docs/en/tutorials/load/automating-json-log-loading-with-vector.md
similarity index 100%
rename from docs/en/tutorials/load/automating_json_log_loading_with_vector.md
rename to docs/en/tutorials/load/automating-json-log-loading-with-vector.md
diff --git a/site-redirects.ts b/site-redirects.ts
index 7f338b1ee7..e4e12c9ab7 100644
--- a/site-redirects.ts
+++ b/site-redirects.ts
@@ -378,6 +378,10 @@ const siteRedirects = [
{
from: '/sql/sql-functions/vector-distance-functions/',
to: '/sql/sql-functions/vector-functions/'
+ },
+ {
+ from: '/tutorials/load/automating_json_log_loading_with_vector/',
+ to: '/tutorials/load/automating-json-log-loading-with-vector/'
}
];
export default siteRedirects;
\ No newline at end of file
diff --git a/src/components/DocsOverview/index.tsx b/src/components/DocsOverview/index.tsx
index c7e979be53..dd69a77ef3 100644
--- a/src/components/DocsOverview/index.tsx
+++ b/src/components/DocsOverview/index.tsx
@@ -189,7 +189,7 @@ const DocsOverview: FC = (): ReactElement => {