This is an automated email from the ASF dual-hosted git repository.
VGalaxies pushed a commit to branch docusaurus-issue-103-preview
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git
The following commit(s) were added to refs/heads/docusaurus-issue-103-preview
by this push:
new 8db9e144 docs: localize external documentation images
8db9e144 is described below
commit 8db9e14461059b88b9ddfed0ed407f84d9f2c20a
Author: VGalaxies <[email protected]>
AuthorDate: Tue May 5 14:13:09 2026 +0000
docs: localize external documentation images
---
.../cn/community/contribution-guidelines/contribute.md | 6 +++---
content/cn/docs/clients/restful-api/traverser.md | 2 +-
content/cn/docs/introduction/_index.md | 2 +-
content/cn/docs/quickstart/hugegraph-ai/_index.md | 2 +-
.../cn/docs/quickstart/hugegraph-ai/hugegraph-llm.md | 2 +-
content/cn/docs/quickstart/hugegraph-ai/quick_start.md | 16 ++++++++--------
.../en/community/contribution-guidelines/contribute.md | 6 +++---
content/en/docs/clients/restful-api/traverser.md | 2 +-
content/en/docs/introduction/_index.md | 2 +-
content/en/docs/quickstart/hugegraph-ai/_index.md | 2 +-
.../en/docs/quickstart/hugegraph-ai/hugegraph-llm.md | 2 +-
content/en/docs/quickstart/hugegraph-ai/quick_start.md | 16 ++++++++--------
.../images/clients/restful-api/tinkerpop-modern.png | Bin 0 -> 179915 bytes
.../community/contribution-guide/contribution-flow.png | Bin 0 -> 203983 bytes
.../community/contribution-guide/github-email.png | Bin 0 -> 250665 bytes
.../community/contribution-guide/github-token.png | Bin 0 -> 185578 bytes
.../26641e09-249f-4b3a-8013-16dc9383d333.png | Bin 0 -> 18059 bytes
.../33698062-e46b-4757-8b5e-93e8f10eae65.png | Bin 0 -> 239088 bytes
.../7d4496a3-d44c-4491-9463-8e93595dfa45.png | Bin 0 -> 29010 bytes
.../b49e269f-eaec-40b1-8d8f-9e409821d75d.png | Bin 0 -> 164923 bytes
.../d2a72f45-488c-4099-968b-a11816655ba0.png | Bin 0 -> 5076 bytes
.../f3366d46-2e31-4638-94c4-7214951ef77a.png | Bin 0 -> 281542 bytes
.../fc678369-261d-49ea-a289-1ca6ade5ca55.png | Bin 0 -> 277096 bytes
.../fd150f87-27f8-48e5-8a55-319ec039b7e0.png | Bin 0 -> 83703 bytes
static/docs/images/wechat.png | Bin 0 -> 37406 bytes
25 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/content/cn/community/contribution-guidelines/contribute.md
b/content/cn/community/contribution-guidelines/contribute.md
index 77cb83a6..28d0ad89 100644
--- a/content/cn/community/contribution-guidelines/contribute.md
+++ b/content/cn/community/contribution-guidelines/contribute.md
@@ -12,7 +12,7 @@ Thanks for taking the time to contribute! As an open source
project, HugeGraph i
The following is a contribution guide for HugeGraph:
-<img width="884" alt="image"
src="https://user-images.githubusercontent.com/9625821/159643158-8bf72c0a-93c3-4a58-8912-7b2ab20ced1d.png">
+<img width="884" alt="image"
src="/docs/images/community/contribution-guide/contribution-flow.png">
## 1. Preparation
@@ -125,14 +125,14 @@ git push origin bugfix-branch:bugfix-branch
```
Note that since GitHub requires submitting code through `username + token`
(instead of using `username + password` directly), you need to create a GitHub
token from https://github.com/settings/tokens:
-<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/9625821/163524204-7fe0e6bf-9c8b-4b1a-ac65-6a0ac423eb16.png">
+<img width="1280" alt="image"
src="/docs/images/community/contribution-guide/github-token.png">
## 4. Create a Pull Request
Go to the web page of GitHub fork repo, there would be a chance to create a
Pull Request after pushing to a new branch, just click button "Compare & pull
request" to do it. Then edit the description for proposed changes, which can
just be copied from the commit message.
Note: please make sure the email address you used to submit the code is bound
to the GitHub account. For how to bind the email address, please refer to
https://github.com/settings/emails:
-<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/9625821/163522445-2a50a72a-dea2-434f-9868-3a0d40d0d037.png">
+<img width="1280" alt="image"
src="/docs/images/community/contribution-guide/github-email.png">
## 5. Code review
diff --git a/content/cn/docs/clients/restful-api/traverser.md
b/content/cn/docs/clients/restful-api/traverser.md
index 3d4f210b..192be824 100644
--- a/content/cn/docs/clients/restful-api/traverser.md
+++ b/content/cn/docs/clients/restful-api/traverser.md
@@ -55,7 +55,7 @@ HugeGraph 支持的 Traverser API 包括:
使用方法中的例子,都是基于 TinkerPop 官网给出的图:
-
+
数据导入程序如下:
diff --git a/content/cn/docs/introduction/_index.md
b/content/cn/docs/introduction/_index.md
index c5f4f154..be09d21d 100644
--- a/content/cn/docs/introduction/_index.md
+++ b/content/cn/docs/introduction/_index.md
@@ -145,4 +145,4 @@ docker run -itd --name=hugegraph -p 8080:8080
hugegraph/hugegraph
- 安全问题:[[email protected]](mailto:[email protected])
- 微信公众号:Apache HugeGraph
-<img
src="https://github.com/apache/hugegraph-doc/blob/master/assets/images/wechat.png?raw=true"
alt="微信公众号二维码" width="300"/>
+<img src="/docs/images/wechat.png" alt="微信公众号二维码" width="300"/>
diff --git a/content/cn/docs/quickstart/hugegraph-ai/_index.md
b/content/cn/docs/quickstart/hugegraph-ai/_index.md
index ace6b4b9..e612a8c0 100644
--- a/content/cn/docs/quickstart/hugegraph-ai/_index.md
+++ b/content/cn/docs/quickstart/hugegraph-ai/_index.md
@@ -180,4 +180,4 @@ hugegraph-ai 采用 [Apache 2.0
许可证](https://github.com/apache/hugegraph-a
-
**电子邮件**:[[email protected]](mailto:[email protected])([需要订阅](https://hugegraph.apache.org/cn/community/contribution-guidelines/subscribe/))
- **微信**:关注 "Apache HugeGraph" 微信公众号
-<img
src="https://raw.githubusercontent.com/apache/hugegraph-doc/master/assets/images/wechat.png"
alt="Apache HugeGraph WeChat QR Code" width="200"/>
+<img src="/docs/images/wechat.png" alt="Apache HugeGraph WeChat QR Code"
width="200"/>
diff --git a/content/cn/docs/quickstart/hugegraph-ai/hugegraph-llm.md
b/content/cn/docs/quickstart/hugegraph-ai/hugegraph-llm.md
index d376b3de..e4947625 100644
--- a/content/cn/docs/quickstart/hugegraph-ai/hugegraph-llm.md
+++ b/content/cn/docs/quickstart/hugegraph-ai/hugegraph-llm.md
@@ -134,7 +134,7 @@ python -m hugegraph_llm.config.generate --update
- **自定义
Schema**:遵循我们[模板](https://github.com/apache/hugegraph-ai/blob/aff3bbe25fa91c3414947a196131be812c20ef11/hugegraph-llm/src/hugegraph_llm/config/config_data.py#L125)的
JSON 格式
- **HugeGraph Schema**:使用现有图实例的 Schema(例如,“hugegraph”)
-
+
#### 代码构建
diff --git a/content/cn/docs/quickstart/hugegraph-ai/quick_start.md
b/content/cn/docs/quickstart/hugegraph-ai/quick_start.md
index da148f7e..69bb0e24 100644
--- a/content/cn/docs/quickstart/hugegraph-ai/quick_start.md
+++ b/content/cn/docs/quickstart/hugegraph-ai/quick_start.md
@@ -21,7 +21,7 @@ weight: 4
从文本构建知识图谱、分块向量和图顶点向量。
-
+
```mermaid
graph TD;
@@ -79,7 +79,7 @@ graph TD;
第一部分处理单个查询,第二部分同时处理多个查询。以下是第一部分的说明。
-
+
```mermaid
graph TD;
@@ -109,7 +109,7 @@ graph TD;
- **仅图答案:** 仅使用基于图的检索(在向量数据库中查询图顶点向量和图数据库)
- **图-向量答案:** 同时使用基于图和基于向量的检索
-
+
### 执行流程:
@@ -117,7 +117,7 @@ graph TD;
- 使用**关键词提取提示词**从**问题**中提取关键词。
-
+
- 使用提取的关键词:
- 首先,在图数据库中进行精确匹配。
@@ -141,7 +141,7 @@ graph TD;
- **仅图答案**
- **图-向量答案**
-
+
# 4. (处理流程)Text2Gremlin
@@ -154,7 +154,7 @@ graph TD;
第一部分较为简单,因此重点介绍第二部分。
-
+
```mermaid
graph TD;
@@ -169,7 +169,7 @@ graph TD;
- **自然语言查询:** 输入要转换为 Gremlin 的自然语言文本。
-
+
- **Schema:** 输入图 schema。
@@ -183,7 +183,7 @@ graph TD;
- 检索**图 schema**。
- 在向量数据库中查询示例向量,检索与输入查询相似的查询-gremlin
对(如果向量数据库中缺少示例,将自动使用**resources**文件夹中的示例进行初始化)。
-
+
- 使用构建的提示词生成 Gremlin 查询。
diff --git a/content/en/community/contribution-guidelines/contribute.md
b/content/en/community/contribution-guidelines/contribute.md
index 13fd7606..885ba723 100644
--- a/content/en/community/contribution-guidelines/contribute.md
+++ b/content/en/community/contribution-guidelines/contribute.md
@@ -10,7 +10,7 @@ Thanks for taking the time to contribute! As an open source
project, HugeGraph i
The following is a contribution guide for HugeGraph:
-<img width="884" alt="image"
src="https://user-images.githubusercontent.com/9625821/159643158-8bf72c0a-93c3-4a58-8912-7b2ab20ced1d.png">
+<img width="884" alt="image"
src="/docs/images/community/contribution-guide/contribution-flow.png">
## 1. Preparation
@@ -122,14 +122,14 @@ git push origin bugfix-branch:bugfix-branch
```
Note that since GitHub requires submitting code through `username + token`
(instead of using `username + password` directly), you need to create a GitHub
token from https://github.com/settings/tokens:
-<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/9625821/163524204-7fe0e6bf-9c8b-4b1a-ac65-6a0ac423eb16.png">
+<img width="1280" alt="image"
src="/docs/images/community/contribution-guide/github-token.png">
## 4. Create a Pull Request
Go to the web page of GitHub fork repo, there would be a chance to create a
Pull Request after pushing to a new branch, just click button "Compare & pull
request" to do it. Then edit the description for proposed changes, which can
just be copied from the commit message.
Note: please make sure the email address you used to submit the code is bound
to the GitHub account. For how to bind the email address, please refer to
https://github.com/settings/emails:
-<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/9625821/163522445-2a50a72a-dea2-434f-9868-3a0d40d0d037.png">
+<img width="1280" alt="image"
src="/docs/images/community/contribution-guide/github-email.png">
## 5. Code review
diff --git a/content/en/docs/clients/restful-api/traverser.md
b/content/en/docs/clients/restful-api/traverser.md
index 1f7a1e49..80fdf977 100644
--- a/content/en/docs/clients/restful-api/traverser.md
+++ b/content/en/docs/clients/restful-api/traverser.md
@@ -59,7 +59,7 @@ In the following, we provide a detailed explanation of the
Traverser API:
The usage examples provided in this section are based on the graph presented
on the TinkerPop official website:
-
+
The data import program is as follows:
diff --git a/content/en/docs/introduction/_index.md
b/content/en/docs/introduction/_index.md
index c24f01a5..6208e617 100644
--- a/content/en/docs/introduction/_index.md
+++ b/content/en/docs/introduction/_index.md
@@ -142,4 +142,4 @@ docker run -itd --name=hugegraph -p 8080:8080
hugegraph/hugegraph
- Security:
[[email protected]](mailto:[email protected]) (Report
security issues)
- WeChat Public Account: Apache HugeGraph
-<img
src="https://github.com/apache/hugegraph-doc/blob/master/assets/images/wechat.png?raw=true"
alt="WeChat QR Code" width="300"/>
+<img src="/docs/images/wechat.png" alt="WeChat QR Code" width="300"/>
diff --git a/content/en/docs/quickstart/hugegraph-ai/_index.md
b/content/en/docs/quickstart/hugegraph-ai/_index.md
index 3f47df47..4de1e013 100644
--- a/content/en/docs/quickstart/hugegraph-ai/_index.md
+++ b/content/en/docs/quickstart/hugegraph-ai/_index.md
@@ -180,4 +180,4 @@ hugegraph-ai is licensed under [Apache 2.0
License](https://github.com/apache/hu
- **Email**: [[email protected]](mailto:[email protected])
([subscription
required](https://hugegraph.apache.org/community/contribution-guidelines/subscribe/))
- **WeChat**: Follow "Apache HugeGraph" on WeChat
-<img
src="https://raw.githubusercontent.com/apache/hugegraph-doc/master/assets/images/wechat.png"
alt="Apache HugeGraph WeChat QR Code" width="200"/>
+<img src="/docs/images/wechat.png" alt="Apache HugeGraph WeChat QR Code"
width="200"/>
diff --git a/content/en/docs/quickstart/hugegraph-ai/hugegraph-llm.md
b/content/en/docs/quickstart/hugegraph-ai/hugegraph-llm.md
index 509bb98b..e47b3ca3 100644
--- a/content/en/docs/quickstart/hugegraph-ai/hugegraph-llm.md
+++ b/content/en/docs/quickstart/hugegraph-ai/hugegraph-llm.md
@@ -136,7 +136,7 @@ Use the Gradio interface for visual knowledge graph
building:
- **Custom Schema**: JSON format following our
[template](https://github.com/apache/hugegraph-ai/blob/aff3bbe25fa91c3414947a196131be812c20ef11/hugegraph-llm/src/hugegraph_llm/config/config_data.py#L125)
- **HugeGraph Schema**: Use existing graph instance schema (e.g., "hugegraph")
-
+
#### Programmatic Construction
diff --git a/content/en/docs/quickstart/hugegraph-ai/quick_start.md
b/content/en/docs/quickstart/hugegraph-ai/quick_start.md
index 04852db5..bb42808a 100644
--- a/content/en/docs/quickstart/hugegraph-ai/quick_start.md
+++ b/content/en/docs/quickstart/hugegraph-ai/quick_start.md
@@ -21,7 +21,7 @@ weight: 4
Construct a knowledge graph, chunk vector, and graph vid vector from the text.
-
+
```mermaid
graph TD;
@@ -81,7 +81,7 @@ This module consists of two parts:
The first part handles single queries, while the second part handles multiple
queries at once. Below is an explanation of the first part.
-
+
```mermaid
@@ -114,7 +114,7 @@ graph TD;
- **Graph-only Answer:** Uses only graph-based retrieval (queries graph vid
vectors in the vector database and the graph database)
- **Graph-Vector Answer:** Uses both graph-based and vector-based retrieval
-
+
### Execution Flow:
@@ -122,7 +122,7 @@ graph TD;
- Extract keywords from the **question** using the **Keywords Extraction
Prompt**.
-
+
- Use the extracted keywords to:
@@ -151,7 +151,7 @@ graph TD;
- **Graph-only Answer**
- **Graph-Vector Answer**
-
+
# 4. (Processing Flow) Text2Gremlin
@@ -164,7 +164,7 @@ This module consists of two parts:
The first part is straightforward, so the focus is on the second part.
-
+
```mermaid
@@ -180,7 +180,7 @@ graph TD;
- **Natural Language** **Query**: Input the natural language text to be
converted into Gremlin.
-
+
- **Schema:** Input the graph schema.
@@ -199,7 +199,7 @@ graph TD;
- Retrieve the **graph schema**.
- Query the vector database for example vectors, retrieving
query-gremlin pairs similar to the input query (if the vector database lacks
examples, it automatically initializes with examples from the **resources**
folder).
-
+
- Generate the Gremlin query using the constructed prompt.
diff --git a/static/docs/images/clients/restful-api/tinkerpop-modern.png
b/static/docs/images/clients/restful-api/tinkerpop-modern.png
new file mode 100644
index 00000000..b101292a
Binary files /dev/null and
b/static/docs/images/clients/restful-api/tinkerpop-modern.png differ
diff --git
a/static/docs/images/community/contribution-guide/contribution-flow.png
b/static/docs/images/community/contribution-guide/contribution-flow.png
new file mode 100644
index 00000000..e2fb9ccd
Binary files /dev/null and
b/static/docs/images/community/contribution-guide/contribution-flow.png differ
diff --git a/static/docs/images/community/contribution-guide/github-email.png
b/static/docs/images/community/contribution-guide/github-email.png
new file mode 100644
index 00000000..0af2793a
Binary files /dev/null and
b/static/docs/images/community/contribution-guide/github-email.png differ
diff --git a/static/docs/images/community/contribution-guide/github-token.png
b/static/docs/images/community/contribution-guide/github-token.png
new file mode 100644
index 00000000..0e8a5652
Binary files /dev/null and
b/static/docs/images/community/contribution-guide/github-token.png differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/26641e09-249f-4b3a-8013-16dc9383d333.png
b/static/docs/images/hugegraph-ai/quick-start/26641e09-249f-4b3a-8013-16dc9383d333.png
new file mode 100644
index 00000000..e1e93396
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/26641e09-249f-4b3a-8013-16dc9383d333.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/33698062-e46b-4757-8b5e-93e8f10eae65.png
b/static/docs/images/hugegraph-ai/quick-start/33698062-e46b-4757-8b5e-93e8f10eae65.png
new file mode 100644
index 00000000..c39f780f
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/33698062-e46b-4757-8b5e-93e8f10eae65.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/7d4496a3-d44c-4491-9463-8e93595dfa45.png
b/static/docs/images/hugegraph-ai/quick-start/7d4496a3-d44c-4491-9463-8e93595dfa45.png
new file mode 100644
index 00000000..1e7eca19
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/7d4496a3-d44c-4491-9463-8e93595dfa45.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/b49e269f-eaec-40b1-8d8f-9e409821d75d.png
b/static/docs/images/hugegraph-ai/quick-start/b49e269f-eaec-40b1-8d8f-9e409821d75d.png
new file mode 100644
index 00000000..c41e33dc
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/b49e269f-eaec-40b1-8d8f-9e409821d75d.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/d2a72f45-488c-4099-968b-a11816655ba0.png
b/static/docs/images/hugegraph-ai/quick-start/d2a72f45-488c-4099-968b-a11816655ba0.png
new file mode 100644
index 00000000..0af00274
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/d2a72f45-488c-4099-968b-a11816655ba0.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/f3366d46-2e31-4638-94c4-7214951ef77a.png
b/static/docs/images/hugegraph-ai/quick-start/f3366d46-2e31-4638-94c4-7214951ef77a.png
new file mode 100644
index 00000000..045d4887
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/f3366d46-2e31-4638-94c4-7214951ef77a.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/fc678369-261d-49ea-a289-1ca6ade5ca55.png
b/static/docs/images/hugegraph-ai/quick-start/fc678369-261d-49ea-a289-1ca6ade5ca55.png
new file mode 100644
index 00000000..2418630f
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/fc678369-261d-49ea-a289-1ca6ade5ca55.png
differ
diff --git
a/static/docs/images/hugegraph-ai/quick-start/fd150f87-27f8-48e5-8a55-319ec039b7e0.png
b/static/docs/images/hugegraph-ai/quick-start/fd150f87-27f8-48e5-8a55-319ec039b7e0.png
new file mode 100644
index 00000000..600a23f9
Binary files /dev/null and
b/static/docs/images/hugegraph-ai/quick-start/fd150f87-27f8-48e5-8a55-319ec039b7e0.png
differ
diff --git a/static/docs/images/wechat.png b/static/docs/images/wechat.png
new file mode 100644
index 00000000..dff07dba
Binary files /dev/null and b/static/docs/images/wechat.png differ