lkml.org 
[lkml]   [2022]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 04/13] docs: zh_CN: remove references to rust documentation
    From

    在 2022/8/18 21:38, Mauro Carvalho Chehab 写道:
    > There is a note on this file that, using a robot to translate,
    > says:
    >
    > "The kernel-doc cannot contain Rust code: please refer
    > to Documentation/rust/general-information.rst."
    >
    > Such note doesn't exist at the original file anymore, so, just remove
    > it from the translation, in order to solve this warning:
    >
    > Warning: Documentation/translations/zh_CN/doc-guide/kernel-doc.rst references a file that doesn't exist: Documentation/rust/general-information.rst
    >
    > Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

    Reviewed-by: Yanteng Si<siyanteng@loongson.cn>

    Thanks,
    Yanteng

    > ---
    >
    > See [PATCH 00/13] at: https://lore.kernel.org/all/cover.1660829433.git.mchehab@kernel.org/
    >
    > Documentation/translations/zh_CN/doc-guide/kernel-doc.rst | 2 --
    > 1 file changed, 2 deletions(-)
    >
    > diff --git a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
    > index ccfb9b8329c2..9fd170faf951 100644
    > --- a/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
    > +++ b/Documentation/translations/zh_CN/doc-guide/kernel-doc.rst
    > @@ -14,8 +14,6 @@ Linux内核源文件可以包含kernel-doc格式的结构化文档注释,用
    > 实际有着明显的不同。内核源包含成千上万个kernel-doc注释。请坚持遵循
    > 此处描述的风格。
    >
    > -.. note:: kernel-doc无法包含Rust代码:请参考 Documentation/rust/general-information.rst 。
    > -
    > 从注释中提取kernel-doc结构,并从中生成适当的 `Sphinx C 域`_ 函数和带有锚点的
    > 类型描述。这些注释将被过滤以生成特殊kernel-doc高亮和交叉引用。详见下文。
    >

    \
     
     \ /
      Last update: 2022-08-20 04:21    [W:2.233 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site