From 4388d08c495cb97662067704b110ecfff582ba7b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 5 Apr 2026 18:21:34 +0000
Subject: [PATCH] Add direct links to published docs
Agent-Logs-Url: https://github.com/PrettyCADStudio/PrettyMemory/sessions/c351c060-7212-4209-86a1-ae43c36279d3
Co-authored-by: zhuuuoyue <32356359+zhuuuoyue@users.noreply.github.com>
---
README.md | 5 +++++
README.zh-CN.md | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b71d8c3..8a8f3c3 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,7 @@
PrettyMemory is a small header-only C++17 memory-pool library.
+[Online API documentation](https://prettycadstudio.github.io/PrettyMemory/)
[中文说明 / Chinese README](README.zh-CN.md)
[Contribution guide](CONTRIBUTING.md)
@@ -73,6 +74,10 @@ ctest --test-dir .\build\vs2026 -C Release --output-on-failure
The public interfaces in `include\PrettyMemory.h` use bilingual Doxygen comments (Chinese and English).
+The published GitHub Pages site is available at:
+
+-
+
The generated documentation does not show absolute file system paths. It also provides a language toggle button so you can switch between Chinese and English instead of seeing both languages mixed together.
If Doxygen is installed, you can generate the API documentation with:
diff --git a/README.zh-CN.md b/README.zh-CN.md
index b67e7ee..62455df 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -2,6 +2,7 @@
PrettyMemory 是一个小型的、仅头文件(header-only)的 C++17 内存池库。
+[在线 API 文档](https://prettycadstudio.github.io/PrettyMemory/)
[English README](README.md)
[贡献指南](CONTRIBUTING.md)
@@ -79,6 +80,10 @@ ctest --test-dir .\build\vs2026 -C Release --output-on-failure
`include\PrettyMemory.h` 中的公开接口现在使用 Doxygen 双语注释。
+已发布的 GitHub Pages 在线文档地址:
+
+-
+
生成后的文档不会显示文件的绝对路径,并且页面提供语言切换按钮,可以在中文和英文之间切换,而不是把两种语言混在一起显示。
如果系统已安装 Doxygen,可以执行:
@@ -99,4 +104,3 @@ cmake --build build\docs --target docs
- `doc\html`
当修改 push 到 `main` 分支后,GitHub Actions 也会自动重新生成文档,并通过 GitHub Pages 更新网页端文档。
-