OSDN Git Service

doc/zh_CN: mips: use doc references instead
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 13 Jan 2021 07:05:57 +0000 (08:05 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 13 Jan 2021 23:28:35 +0000 (16:28 -0700)
The Chinese mips translations refer to non-existing labels in the original
documentation. Hence, make htmldocs warns about those undefined labels on
all files in ./Documentation/translations/zh_CN/mips/.

Replace the references to non-existing labels with suitable doc references.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Fixes: 419b1d4ed1cb ("doc/zh_CN: add mips ingenic-tcu.rst translation")
Fixes: 72bc9d08868d ("doc/zh_CN: add mips features.rst translation")
Fixes: 7fd3954b0c52 ("doc/zh_CN: add mips booting.rst translation")
Fixes: b8e724fd7117 ("doc/zh_CN: add mips index.rst translation")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20210113070557.28792-1-lukas.bulwahn@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/zh_CN/mips/booting.rst
Documentation/translations/zh_CN/mips/features.rst
Documentation/translations/zh_CN/mips/index.rst
Documentation/translations/zh_CN/mips/ingenic-tcu.rst

index 3099d0f..96453e1 100644 (file)
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/mips/booting.rst <booting>`
+:Original: :doc:`../../../mips/booting`
 :Translator: Yanteng Si <siyanteng@loongson.cn>
 
 .. _cn_booting:
index 7e67f81..93d93d0 100644 (file)
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/mips/features.rst <features>`
+:Original: :doc:`../../../mips/features`
 :Translator: Yanteng Si <siyanteng@loongson.cn>
 
 .. _cn_features:
index 2c7b836..27a2eae 100644 (file)
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/mips/index.rst <index>`
+:Original: :doc:`../../../mips/index`
 :Translator: Yanteng Si <siyanteng@loongson.cn>
 
 .. _cn_index:
index 9324a0a..f04ba40 100644 (file)
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/mips/ingenic-tcu.rst <ingenic-tcu>`
+:Original: :doc:`../../../mips/ingenic-tcu`
 :Translator: Yanteng Si <siyanteng@loongson.cn>
 
 .. _cn_ingenic-tcu: