Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions content/cn/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

### 生态系统一览

Expand Down Expand Up @@ -55,4 +55,4 @@ Apache HugeGraph 是一套完整的图数据库生态系统,支持 OLTP 实时
| **分布式** | 海量存储、存算分离 | < 1000TB |
| **Docker** | 快速体验 | 任意 |

[📖 详细介绍](introduction/)
[📖 详细介绍](introduction/README)
12 changes: 6 additions & 6 deletions content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
10 changes: 5 additions & 5 deletions dist/validate-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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
Expand All @@ -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"
Expand Down