2022-06-26 09:13:37

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH v2 06/20] docs: zh_CN: fix a broken reference

The location of the rust doc is wrong (probably a typo). Fix it.

Fixes: 3a5915156429 ("docs/zh_CN: Add translation zh_CN/doc-guide/kernel-doc.rst")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH v2 00/20] at: https://lore.kernel.org/all/[email protected]/

Documentation/translations/zh_CN/doc-guide/kernel-doc.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
index 82ec84470c0b..ccfb9b8329c2 100644
--- a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
+++ b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
@@ -14,7 +14,7 @@ Linux内核源文件可以包含kernel-doc格式的结构化文档注释,用
实际有着明显的不同。内核源包含成千上万个kernel-doc注释。请坚持遵循
此处描述的风格。

-.. note:: kernel-doc无法包含Rust代码:请参考 Documentation/rust/docs.rst 。
+.. note:: kernel-doc无法包含Rust代码:请参考 Documentation/rust/general-information.rst 。

从注释中提取kernel-doc结构,并从中生成适当的 `Sphinx C 域`_ 函数和带有锚点的
类型描述。这些注释将被过滤以生成特殊kernel-doc高亮和交叉引用。详见下文。
--
2.36.1


2022-06-26 09:40:41

by Miguel Ojeda

[permalink] [raw]
Subject: Re: [PATCH v2 06/20] docs: zh_CN: fix a broken reference

On Sun, Jun 26, 2022 at 11:11 AM Mauro Carvalho Chehab
<[email protected]> wrote:
>
> The location of the rust doc is wrong (probably a typo). Fix it.

Thanks Mauro -- it was the old location of the document. For some
reason, the translated docs have bits from -next.

Cheers,
Miguel