On 2024/10/22 00:36, Jonathan Corbet wrote:
Dongliang Mu <dzm91@xxxxxxxxxxx> writes:
On 2024/10/21 23:38, Jonathan Corbet wrote:
Dongliang Mu <dzm91@xxxxxxxxxxx> writes:
Update to commit 0b02076f9953 ("docs: programming-language: add Rust
programming language section")
scripts/checktransupdate.py reports:
Documentation/translations/zh_CN/process/programming-language.rst
commit 0b02076f9953 ("docs: programming-language: add Rust programming
language section")
commit 38484a1d0c50 ("docs: programming-language: remove mention of the
Intel compiler")
2 commits needs resolving in total
Signed-off-by: Dongliang Mu <dzm91@xxxxxxxxxxx>
---
v1->v2: revise the script name
.../zh_CN/process/programming-language.rst | 78 +++++++------------
1 file changed, 30 insertions(+), 48 deletions(-)
This one adds some new build warnings:
Documentation/translations/zh_CN/process/programming-language.rst:44: WARNING: duplicate citation gcc, other instance in /stuff/k/git/kernel/Documentation/process/programming-language.rst
Documentation/translations/zh_CN/process/programming-language.rst:51: WARNING: duplicate citation rustc, other instance in /stuff/k/git/kernel/Documentation/process/programming-language.rst
*Please* be sure to do a docs build before submitting your patches.
I am sorry. I am not sure why I miss this warning. I should strictly
follow the rule - make htmldocs and checkpatch do no trigger any errors
or warns.
A simple question: if you miss the warning in one `make htmldocs`
building``, you rerun `make htmldocs` and still trigger the warning or
just the warnnings do not appear until `make cleandocs` is done?
Sphinx only rebuilds what it has to, so a warning may not repeat if you
do not build from a clean tree.
I see where my problem is. I will modify my workflow with an additional
rule: always do a clean build before sending a patch.
Thanks, Jon
Dongliang Mu
jon