docs: make English the default docs language and fix link paths

This commit is contained in:
zhayujie
2026-05-31 17:52:22 +08:00
parent 126649f70f
commit 7bf4ef3d05
231 changed files with 8999 additions and 8974 deletions

View File

@@ -1,23 +1,23 @@
---
title: ls - 目录列表
description: 列出目录内容
title: ls - Directory List
description: List directory contents
---
列出目录内容,按字母排序,目录名带 `/` 后缀,包含隐藏文件。
List directory contents, sorted alphabetically, directories suffixed with `/`, includes hidden files.
## 依赖
## Dependencies
无额外依赖,默认可用。
No extra dependencies, available by default.
## 参数
## Parameters
| 参数 | 类型 | 必填 | 说明 |
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `path` | string | 是 | 目录路径,相对路径基于工作空间目录 |
| `limit` | integer | | 最大返回条目数,默认 500 |
| `path` | string | Yes | Directory path, relative paths are based on workspace directory |
| `limit` | integer | No | Maximum entries to return, default 500 |
## 使用场景
## Use Cases
- 浏览项目结构
- 查找特定文件
- 检查目录是否存在
- Browse project structure
- Find specific files
- Check if a directory exists