From 1501ab096dc6494075877028c5276705cd9c2fe5 Mon Sep 17 00:00:00 2001 From: loonghao Date: Mon, 12 Oct 2026 00:50:58 +0800 Subject: [PATCH] docs: fix stale vx-core example and align zh contributing tree comments The usage example in scripts/test.sh pointed at the vx-core package, which no longer exists on disk after it was merged into vx-runtime-core, so the example would send users to a nonexistent target. Update it to the real crate name. Also realign the crate rows of the directory tree in the Chinese contributing guide so every comment in the block starts at the same column as the book/, tests/ and examples/ rows. Text-only; no behavior change. --- docs/zh/advanced/contributing.md | 12 ++++++------ scripts/test.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/zh/advanced/contributing.md b/docs/zh/advanced/contributing.md index 40567d94e..52c1ad50b 100644 --- a/docs/zh/advanced/contributing.md +++ b/docs/zh/advanced/contributing.md @@ -155,12 +155,12 @@ pre-commit hook 会在你忘记时自动捕获这个问题。 ``` vx/ ├── crates/ -│ ├── vx-cli/ # CLI 应用 -│ ├── vx-runtime-core/ # 核心类型和 traits -│ ├── vx-paths/ # 路径管理 -│ ├── vx-resolver/ # 版本解析 -│ ├── vx-runtime/ # 运行时管理 -│ └── vx-providers/ # 工具提供者 +│ ├── vx-cli/ # CLI 应用 +│ ├── vx-runtime-core/# 核心类型和 traits +│ ├── vx-paths/ # 路径管理 +│ ├── vx-resolver/ # 版本解析 +│ ├── vx-runtime/ # 运行时管理 +│ └── vx-providers/ # 工具提供者 ├── book/ # 文档 (mdBook) ├── tests/ # 集成测试 └── examples/ # 示例配置 diff --git a/scripts/test.sh b/scripts/test.sh index 64dd64974..ac946a629 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -56,7 +56,7 @@ EXAMPLES: $0 # Run all tests $0 -t unit # Run only unit tests $0 -t integration -v # Run integration tests with verbose output - $0 -p vx-core # Run tests for vx-core package only + $0 -p vx-runtime-core # Run tests for vx-runtime-core package only $0 -c # Run all tests and generate coverage report EOF