Skip to content

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

docs: fix dev environment install commands (.[dev] extra does not exist)

Frankie-Xu63b4cc4a5899
diff --git a/docs/en/getting-started/installation.md b/docs/en/getting-started/installation.md
index c91a918..63f4546 100644
--- a/docs/en/getting-started/installation.md
+++ b/docs/en/getting-started/installation.md
@@ -81,11 +81,11 @@ If you want to contribute or modify the source code:
git clone https://github.com/yifanfeng97/hyper-extract.git
cd hyper-extract
-# Install with uv (recommended)
-uv sync --extra dev
+# Install with uv (recommended) — includes the `dev` dependency group
+uv sync
-# Or with pip
-pip install -e ".[dev]"
+# Or with pip (pip 25.1+)
+pip install -e . --group dev
```
---
diff --git a/docs/en/python/index.md b/docs/en/python/index.md
index e17b85a..fe71bd7 100644
--- a/docs/en/python/index.md
+++ b/docs/en/python/index.md
@@ -10,10 +10,12 @@ Build knowledge extraction pipelines with the Hyper-Extract Python API.
pip install hyperextract
```
-For development:
+For development, clone the repository and install the `dev` dependency group:
```bash
-pip install hyperextract[dev]
+git clone https://github.com/yifanfeng97/hyper-extract.git
+cd hyper-extract
+uv sync
```
---
diff --git a/docs/en/resources/contributing.md b/docs/en/resources/contributing.md
index b311723..7dd9003 100644
--- a/docs/en/resources/contributing.md
+++ b/docs/en/resources/contributing.md
@@ -26,12 +26,13 @@ cd hyper-extract
### 2. Set Up Development Environment
```bash
-# Create virtual environment
+# Recommended: uv (installs the `dev` dependency group by default)
+uv sync
+
+# Or with pip (pip 25.1+)
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
-
-# Install in editable mode
-pip install -e ".[dev]"
+pip install -e . --group dev
```
### 3. Run Tests
diff --git a/docs/zh/getting-started/installation.md b/docs/zh/getting-started/installation.md
index e580c58..af4c14a 100644
--- a/docs/zh/getting-started/installation.md
+++ b/docs/zh/getting-started/installation.md
@@ -81,11 +81,11 @@ Hyper-Extract 需要 **Python 3.11+**。
git clone https://github.com/yifanfeng97/hyper-extract.git
cd hyper-extract
-# 使用 uv 安装(推荐)
-uv sync --extra dev
+# 使用 uv 安装(推荐)——会安装 `dev` 依赖组
+uv sync
-# 或使用 pip
-pip install -e ".[dev]"
+# 或使用 pip(pip 25.1+)
+pip install -e . --group dev
```
---
diff --git a/docs/zh/python/index.md b/docs/zh/python/index.md
index d15d1bf..d3a6340 100644
--- a/docs/zh/python/index.md
+++ b/docs/zh/python/index.md
@@ -10,10 +10,12 @@
pip install hyperextract
```
-开发安装:
+开发安装请克隆仓库并安装 `dev` 依赖组:
```bash
-pip install hyperextract[dev]
+git clone https://github.com/yifanfeng97/hyper-extract.git
+cd hyper-extract
+uv sync
```
---
diff --git a/docs/zh/resources/contributing.md b/docs/zh/resources/contributing.md
index 5698fab..e9f9006 100644
--- a/docs/zh/resources/contributing.md
+++ b/docs/zh/resources/contributing.md
@@ -26,12 +26,13 @@ cd hyper-extract
### 2. 配置开发环境
```bash
-# 创建虚拟环境
+# 推荐:uv(默认安装 `dev` 依赖组)
+uv sync
+
+# 或使用 pip(pip 25.1+)
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
-
-# 以可编辑模式安装
-pip install -e ".[dev]"
+pip install -e . --group dev
```
### 3. 运行测试