Skip to content

Commit 9088572

Browse files
committed
chore: 更新中英文文档,修复链接和格式问题
1 parent 818d65b commit 9088572

8 files changed

Lines changed: 16 additions & 15 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<div align="center">
22

3+
<a href="https://yifanfeng97.github.io/Hyper-Extract/latest/">
34
<picture>
45
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo/logo-horizontal-dark.svg">
56
<source media="(prefers-color-scheme: light)" srcset="docs/assets/logo/logo-horizontal.svg">
67
<img alt="Hyper-Extract Logo" src="docs/assets/logo/logo-horizontal.svg" width="600">
78
</picture>
9+
</a>
810

911
<br/>
1012
<br/>
@@ -264,9 +266,8 @@ display:
264266
265267
## 📚 Related Documentation
266268
267-
- [Full Documentation](https://yifanfeng97.github.io/Hyper-Extract/latest/) - Complete documentation site
268-
- [中文文档](https://yifanfeng97.github.io/Hyper-Extract/latest/zh/) - 中文文档
269-
- [CLI Guide](https://yifanfeng97.github.io/Hyper-Extract/latest/guides/cli/) - Command-line interface
269+
- [Documentation](https://yifanfeng97.github.io/Hyper-Extract/latest/) - Complete documentation site
270+
- [CLI Guide](https://yifanfeng97.github.io/Hyper-Extract/latest/cli/) - Command-line interface
270271
- [Template Gallery](./hyperextract/templates/presets/) - Available templates
271272
- [Example Code](./examples/) - Working examples
272273

README_ZH.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<div align="center">
22

3+
<a href="https://yifanfeng97.github.io/Hyper-Extract/latest/zh/">
34
<picture>
45
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo/logo-horizontal-dark.svg">
56
<source media="(prefers-color-scheme: light)" srcset="docs/assets/logo/logo-horizontal.svg">
67
<img alt="Hyper-Extract Logo" src="docs/assets/logo/logo-horizontal.svg" width="600">
78
</picture>
9+
</a>
810

911
<br/>
1012
<br/>
@@ -266,7 +268,6 @@ display:
266268
## 📚 相关文档
267269
268270
- [完整文档](https://yifanfeng97.github.io/Hyper-Extract/latest/zh/) - 完整文档站点
269-
- [English Documentation](https://yifanfeng97.github.io/Hyper-Extract/latest/) - English Documentation
270271
- [CLI 指南](https://yifanfeng97.github.io/Hyper-Extract/latest/zh/cli/) - 命令行界面
271272
- [模板画廊](./hyperextract/templates/presets/) - 可用模板
272273
- [示例代码](./examples/) - 可运行示例

docs/en/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If you want to use Hyper-Extract in your Python code:
5151
You should see something like:
5252

5353
```
54-
Hyper-Extract CLI version 0.1.1
54+
Hyper-Extract CLI version 0.1.2.dev0
5555
```
5656

5757
=== "Python"

docs/zh/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Hyper-Extract 需要 **Python 3.11+**。
5151
您应该看到类似输出:
5252

5353
```
54-
Hyper-Extract CLI version 0.1.1
54+
Hyper-Extract CLI version 0.1.2.dev0
5555
```
5656

5757
=== "Python"

hyperextract/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
from .utils.logging import configure_logging, get_logger, set_log_level
4242

4343

44-
__version__ = "0.1.1"
44+
from importlib.metadata import version
45+
46+
__version__ = version("hyperextract")
4547
__author__ = "Yifan Feng"
4648
__email__ = "evanfeng97@gmail.com"
4749

hyperextract/cli/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""Hyper-Extract CLI - A command-line tool for knowledge extraction."""
22

3-
__version__ = "0.1.1"
3+
from importlib.metadata import version
4+
5+
__version__ = version("hyperextract")
46
__author__ = "Yifan Feng"
57

68
from .cli import app

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hyperextract"
3-
version = "0.1.1"
3+
version = "0.1.2.dev0"
44
description = "An intelligent, LLM-powered knowledge extraction and evolution framework with semantic search capabilities"
55
readme = "README.md"
66
requires-python = ">=3.11"

uv.lock

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)