OSDN Git Service

docs/zh_CN: two minor fixes in zh_CN/doc-guide/
authorWu XiangCheng <bobwxc@email.cn>
Wed, 14 Apr 2021 03:34:37 +0000 (11:34 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 15 Apr 2021 20:54:29 +0000 (14:54 -0600)
zh_CN/doc-guide/kernel-doc.rst
  replace a ref tag to solve docs-next warning

zh_CN/doc-guide/parse-headers.rst
  fix an unperfect word

Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
Link: https://lore.kernel.org/r/20210414033435.GA27907@bobwxc.top
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
Documentation/translations/zh_CN/doc-guide/parse-headers.rst

index b042794..82ec844 100644 (file)
@@ -14,8 +14,7 @@ Linux内核源文件可以包含kernel-doc格式的结构化文档注释,用
           实际有着明显的不同。内核源包含成千上万个kernel-doc注释。请坚持遵循
           此处描述的风格。
 
-.. note:: kernel-doc无法包含Rust代码:请参考
-          :ref:`Documentation/rust/docs.rst <rust_docs>`。
+.. note:: kernel-doc无法包含Rust代码:请参考 Documentation/rust/docs.rst 。
 
 从注释中提取kernel-doc结构,并从中生成适当的 `Sphinx C 域`_ 函数和带有锚点的
 类型描述。这些注释将被过滤以生成特殊kernel-doc高亮和交叉引用。详见下文。
index b471b0d..a08819e 100644 (file)
@@ -184,4 +184,4 @@ enum foo { BAR1, BAR2, PRIVATE };
 许可证 GPLv2:GNU GPL version 2 <https://gnu.org/licenses/gpl.html>
 
 这是自由软件:你可以自由地修改和重新发布它。
-在法律允许的范围内,**没有任何保证**。
+在法律允许的范围内,**不提供任何保证**。