Skip to contentSkip to conversation

doc: zh_CN: use doc reference to resolve undefined label warning

PATCH Applied Lukas Bulwahn 3 participants 3 messages May 31, 2020 – Jun 8, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: zh_CN: use doc reference to resolve undefined label warning

Documentation generation warns:

Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
WARNING: undefined label: debugfs_index

Use doc reference for files rather than introducing a label to refer to. This resolves the warning above.

---
Jonathan, please pick this quick warning fix.

applies on your doc-next and next-20200529

 Documentation/translations/zh_CN/filesystems/debugfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/filesystems/debugfs.rst +1 -1
index f8a28793c277..822c4d42fdf9 100644
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/filesystems/debugfs.txt <debugfs_index>`
+:Original: :doc:`../../../filesystems/debugfs`
 
 =======
 Debugfs
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Lukas Bulwahn

Documentation generation warns:

Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
WARNING: undefined label: debugfs_index

It's due to debugfs.txt changed to debugfs.rst.

Quoted 3 lines

Use doc reference for files rather than introducing a label to refer to. This resolves the warning above.

Anyway this fix is also fine for me.

Quoted 24 lines

---
Jonathan, please pick this quick warning fix.

applies on your doc-next and next-20200529

 Documentation/translations/zh_CN/filesystems/debugfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/filesystems/debugfs.rst +1 -1
index f8a28793c277..822c4d42fdf9 100644
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/filesystems/debugfs.txt <debugfs_index>`
+:Original: :doc:`../../../filesystems/debugfs`
 
 =======
 Debugfs
maintainer Applied
#2 lore raw
In reply to Lukas Bulwahn
Quoted 11 lines · On Sun, 31 May 2020 20:35:56 +0200 Lukas Bulwahn <[email protected]>…

Documentation generation warns:

Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
WARNING: undefined label: debugfs_index

Use doc reference for files rather than introducing a label to refer to. This resolves the warning above.

---
Jonathan, please pick this quick warning fix.

Applied, thanks.

jon