Re: [PATCH v2] docs/zh_CN: add process/researcher-guidelines Chinese translation

From: Jonathan Corbet
Date: Wed Jun 12 2024 - 17:19:58 EST


Dongliang Mu <dzm91@xxxxxxxxxxx> writes:

> Finish the translation of researcher-guidelines and add it to the
> index file.
>
> Update to commit 27103dddc2da ("Documentation: update mailing list
> addresses")
>
> Signed-off-by: Dongliang Mu <dzm91@xxxxxxxxxxx>
> ---
> v1->v2: Revise description suggested by Alex Shi
> Add a commit id to keep track of the translation status
> Add a new line at the end of researcher-guidelines.rst
> .../translations/zh_CN/process/index.rst | 2 +-
> .../zh_CN/process/researcher-guidelines.rst | 129 ++++++++++++++++++
> 2 files changed, 130 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/translations/zh_CN/process/researcher-guidelines.rst
>
> diff --git a/Documentation/translations/zh_CN/process/index.rst b/Documentation/translations/zh_CN/process/index.rst
> index 5c6c8ccdd50d..5a5cd7c01c62 100644
> --- a/Documentation/translations/zh_CN/process/index.rst
> +++ b/Documentation/translations/zh_CN/process/index.rst
> @@ -64,6 +64,7 @@ TODOLIST:
> management-style
> stable-kernel-rules
> submit-checklist
> + researcher-guidelines
>
> TODOLIST:
>
> @@ -71,7 +72,6 @@ TODOLIST:
> * kernel-docs
> * deprecated
> * maintainers
> -* researcher-guidelines
> * contribution-maturity-model
>
>
> diff --git a/Documentation/translations/zh_CN/process/researcher-guidelines.rst b/Documentation/translations/zh_CN/process/researcher-guidelines.rst
> new file mode 100644
> index 000000000000..66e4840f208a
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/process/researcher-guidelines.rst
> @@ -0,0 +1,129 @@
> +.. SPDX-License-Identifier: GPL-2.0-or-later
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +.. _cn_submittingpatches:

This label here ^^^ adds a new warning to the docs build:

> Documentation/translations/zh_CN/process/researcher-guidelines.rst:7: WARNING: duplicate label cn_submittingpatches, other instance in Documentation/translations/zh_CN/process/submitting-patches.rst

This is a fairly obvious error, and one you should have seen when you
did your own docs build. Please be a bit more careful.

jon