This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 486e0b8f fix: update links in documentation for quick navigation (#450)
486e0b8f is described below
commit 486e0b8fa0f5f2dfeb8be7cdb8851693d1219f9e
Author: Himanshu Verma <[email protected]>
AuthorDate: Mon Feb 9 15:26:21 2026 +0530
fix: update links in documentation for quick navigation (#450)
---
content/cn/docs/_index.md | 12 ++++++------
content/en/docs/_index.md | 12 ++++++------
dist/validate-links.sh | 10 +++++-----
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/content/cn/docs/_index.md b/content/cn/docs/_index.md
index dd20d85e..b0a762ea 100755
--- a/content/cn/docs/_index.md
+++ b/content/cn/docs/_index.md
@@ -15,11 +15,11 @@ Apache HugeGraph 是一套完整的图数据库生态系统,支持 OLTP 实时
| 我想要... | 从这里开始 |
|----------|-----------|
-| **运行图查询** (OLTP) | [HugeGraph Server
快速开始](quickstart/hugegraph-server/hugegraph-server) |
-| **大规模图计算** (OLAP) |
[图计算引擎](quickstart/hugegraph-computer/hugegraph-computer) |
-| **构建 AI/RAG 应用** | [HugeGraph-AI](quickstart/hugegraph-ai) |
-| **批量导入数据** | [HugeGraph Loader](quickstart/hugegraph-loader) |
-| **可视化管理图** | [Hubble Web UI](quickstart/hugegraph-hubble) |
+| **运行图查询** (OLTP) | [HugeGraph Server
快速开始](quickstart/hugegraph/hugegraph-server) |
+| **大规模图计算** (OLAP) | [图计算引擎](quickstart/computing/hugegraph-computer) |
+| **构建 AI/RAG 应用** | [HugeGraph-AI](quickstart/hugegraph-ai/quick_start) |
+| **批量导入数据** | [HugeGraph Loader](quickstart/toolchain/hugegraph-loader) |
+| **可视化管理图** | [Hubble Web UI](quickstart/toolchain/hugegraph-hubble) |
### 生态系统一览
@@ -55,4 +55,4 @@ Apache HugeGraph 是一套完整的图数据库生态系统,支持 OLTP 实时
| **分布式** | 海量存储、存算分离 | < 1000TB |
| **Docker** | 快速体验 | 任意 |
-[📖 详细介绍](introduction/)
+[📖 详细介绍](introduction/README)
diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md
index 405c8141..57eb8f7f 100755
--- a/content/en/docs/_index.md
+++ b/content/en/docs/_index.md
@@ -15,11 +15,11 @@ Apache HugeGraph is a complete graph database ecosystem,
supporting OLTP real-ti
| I want to... | Start here |
|----------|-----------|
-| **Run graph queries** (OLTP) | [HugeGraph Server
Quickstart](quickstart/hugegraph-server/hugegraph-server) |
-| **Large-scale graph computing** (OLAP) | [Graph Computing
Engine](quickstart/hugegraph-computer/hugegraph-computer) |
-| **Build AI/RAG applications** | [HugeGraph-AI](quickstart/hugegraph-ai) |
-| **Batch import data** | [HugeGraph Loader](quickstart/hugegraph-loader) |
-| **Visualize and manage graphs** | [Hubble Web
UI](quickstart/hugegraph-hubble) |
+| **Run graph queries** (OLTP) | [HugeGraph Server
Quickstart](quickstart/hugegraph/hugegraph-server) |
+| **Large-scale graph computing** (OLAP) | [Graph Computing
Engine](quickstart/computing/hugegraph-computer) |
+| **Build AI/RAG applications** |
[HugeGraph-AI](quickstart/hugegraph-ai/quick_start) |
+| **Batch import data** | [HugeGraph
Loader](quickstart/toolchain/hugegraph-loader) |
+| **Visualize and manage graphs** | [Hubble Web
UI](quickstart/toolchain/hugegraph-hubble) |
### Ecosystem Overview
@@ -55,4 +55,4 @@ Apache HugeGraph is a complete graph database ecosystem,
supporting OLTP real-ti
| **Distributed** | Massive storage, compute-storage separated | < 1000TB |
| **Docker** | Quick start | Any |
-[📖 Detailed Introduction](introduction/)
+[📖 Detailed Introduction](introduction/README)
diff --git a/dist/validate-links.sh b/dist/validate-links.sh
index 2d4bd397..224eeeeb 100755
--- a/dist/validate-links.sh
+++ b/dist/validate-links.sh
@@ -13,15 +13,15 @@ while read -r FILE; do
# Using grep to find all matching links in the file
while read -r MATCH; do
if [ -z "$MATCH" ]; then continue; fi
-
+
# Extract URL from ](url)
LINK=${MATCH#*](}
LINK=${LINK%)}
-
+
# Remove anchor and query parameters
CLEAN_LINK=$(echo "$LINK" | cut -d'#' -f1 | cut -d'?' -f1)
CLEAN_LINK=${CLEAN_LINK%/}
-
+
# Determine target file path based on language prefix
if [[ "$CLEAN_LINK" == /docs/* ]]; then
TARGET_PATH="content/en${CLEAN_LINK}"
@@ -33,7 +33,7 @@ while read -r FILE; do
# Check for file existence variations
FOUND=false
-
+
# Check 1: As .md file
if [[ -f "${TARGET_PATH}.md" ]]; then
FOUND=true
@@ -47,7 +47,7 @@ while read -r FILE; do
elif [[ -f "${TARGET_PATH}/README.md" ]]; then
FOUND=true
fi
-
+
if [ "$FOUND" = false ]; then
echo "Error: Broken link in $FILE"
echo " Link: $LINK"