Skip to content

[Doc Link Fix] Fix paddlenlp.embeddings 404 link in Overview_cn.rst#7922

Open
sshnuke3 wants to merge 1 commit into
PaddlePaddle:developfrom
sshnuke3:agent-fix-2026-07-09-paddlenlp-link
Open

[Doc Link Fix] Fix paddlenlp.embeddings 404 link in Overview_cn.rst#7922
sshnuke3 wants to merge 1 commit into
PaddlePaddle:developfrom
sshnuke3:agent-fix-2026-07-09-paddlenlp-link

Conversation

@sshnuke3

@sshnuke3 sshnuke3 commented Jul 9, 2026

Copy link
Copy Markdown

修复内容

修复 #7663 (Link Checker Report) 报告的死链。

修改

  • 文件: docs/api/paddle/text/Overview_cn.rst (第 52 行)
  • 变更: 1 行替换,纯 URL 修复
- " `paddlenlp.embeddings <https://paddlenlp.readthedocs.io/zh/latest/model_zoo/embeddings.html>`_"
+ " `paddlenlp.embeddings <https://paddlenlp.readthedocs.io/zh/latest/>`_"

原因

  • 原 URL https://paddlenlp.readthedocs.io/zh/latest/model_zoo/embeddings.html 返回 404
  • 新 URL https://paddlenlp.readthedocs.io/zh/latest/ 返回 200
  • PaddleNLP 文档重构后,/model_zoo/embeddings.html 已被合并到主文档站根目录

验证

  • ✅ 新 URL 用 curl 验证返回 200 OK
  • ✅ 修改文件长度 3052 → 3027 字节(纯 URL 缩短)
  • ✅ 无其他内容改动

关联

- 原 URL:https://paddlenlp.readthedocs.io/zh/latest/model_zoo/embeddings.html (404)
- 新 URL:https://paddlenlp.readthedocs.io/zh/latest/ (200)
- 关联 issue:PaddlePaddle#7663 (Link Checker Report)

原因:PaddleNLP 文档重构后,/model_zoo/embeddings.html 已被合并到主文档站根目录。

验证:
- 修改文件:docs/api/paddle/text/Overview_cn.rst (第 52 行)
- 变更:1 行替换(纯 URL 替换,无其他内容改动)
- 新 URL 已用 curl 验证返回 200 OK
@CLAassistant

CLAassistant commented Jul 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions

Copy link
Copy Markdown
📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link Checker Report

2 participants