kayx23 commented on code in PR #13301: URL: https://github.com/apache/apisix/pull/13301#discussion_r3149249125
########## docs/zh/latest/plugins/response-rewrite.md: ########## @@ -28,9 +28,7 @@ description: response-rewrite 插件提供了重写 APISIX 及其上游服务返 # --> -<head> - <link rel="canonical" href="https://docs.api7.ai/hub/response-rewrite" /> -</head> +<link rel="canonical" href="https://docs.api7.ai/hub/response-rewrite" /> Review Comment: 这个 PR 还修改了 `response-rewrite.md`,并去掉了 canonical 链接外层的 `<head>...</head>`。当前这套文档里 canonical 通常都包在 `<head>` 中,这样才会进入页面 head,而不是作为原始标签出现在 MDX 正文里。这里建议保留原来的 `<head><link ... /></head>` 形式(ZH 文件同样如此)。 ########## docs/en/latest/plugins/response-rewrite.md: ########## @@ -28,9 +28,7 @@ description: The response-rewrite Plugin offers options to rewrite responses tha # --> -<head> - <link rel="canonical" href="https://docs.api7.ai/hub/response-rewrite" /> -</head> +<link rel="canonical" href="https://docs.api7.ai/hub/response-rewrite" /> Review Comment: This PR also changes `response-rewrite.md` and removes the `<head>...</head>` wrapper around the canonical link. In this docs set, canonical links are consistently wrapped in `<head>` so they are emitted into the page head rather than rendered as a raw tag in the MDX body. Please keep the existing `<head><link ... /></head>` form here (same for the ZH file). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
