All of lore.kernel.org
 help / color / mirror / Atom feed
* [docs-next PATCH] docs/zh_CN: two minor fixes in zh_CN/doc-guide/
@ 2021-04-14  3:34 Wu XiangCheng
  2021-04-15 20:54 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Wu XiangCheng @ 2021-04-14  3:34 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Alex Shi, linux-doc

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>
---
Rust part in doc-guide/kernel-doc.rst is from rust-next, I'll solve that 
tag there.

 Documentation/translations/zh_CN/doc-guide/kernel-doc.rst    | 3 +--
 Documentation/translations/zh_CN/doc-guide/parse-headers.rst | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
index b0427944f8f0..82ec84470c0b 100644
--- a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
+++ b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
@@ -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高亮和交叉引用。详见下文。
diff --git a/Documentation/translations/zh_CN/doc-guide/parse-headers.rst b/Documentation/translations/zh_CN/doc-guide/parse-headers.rst
index 3c6612a3e47e..a6f9d052979e 100644
--- a/Documentation/translations/zh_CN/doc-guide/parse-headers.rst
+++ b/Documentation/translations/zh_CN/doc-guide/parse-headers.rst
@@ -184,4 +184,4 @@ enum foo { BAR1, BAR2, PRIVATE };
 许可证 GPLv2:GNU GPL version 2 <https://gnu.org/licenses/gpl.html>
 
 这是自由软件:你可以自由地修改和重新发布它。
-在法律允许的范围内,**没有任何保证**。
+在法律允许的范围内,**不提供任何保证**。
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [docs-next PATCH] docs/zh_CN: two minor fixes in zh_CN/doc-guide/
  2021-04-14  3:34 [docs-next PATCH] docs/zh_CN: two minor fixes in zh_CN/doc-guide/ Wu XiangCheng
@ 2021-04-15 20:54 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-04-15 20:54 UTC (permalink / raw)
  To: Wu XiangCheng; +Cc: Alex Shi, linux-doc

Wu XiangCheng <bobwxc@email.cn> writes:

> 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>
> ---
> Rust part in doc-guide/kernel-doc.rst is from rust-next, I'll solve that 
> tag there.
>
>  Documentation/translations/zh_CN/doc-guide/kernel-doc.rst    | 3 +--
>  Documentation/translations/zh_CN/doc-guide/parse-headers.rst | 2 +-
>  2 files changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-15 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14  3:34 [docs-next PATCH] docs/zh_CN: two minor fixes in zh_CN/doc-guide/ Wu XiangCheng
2021-04-15 20:54 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.