]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: fix broken cross reference in translations/zh_CN
authorJonathan Corbet <corbet@lwn.net>
Mon, 14 Dec 2020 20:14:22 +0000 (13:14 -0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 14 Dec 2020 20:14:22 +0000 (13:14 -0700)
Commit 09028e60fcea ("doc: zh_CN: add translatation for tmpfs") introduced
a cross reference without adding the appropriate target tag, leading to
this docs-build warning:

  Documentation/translations/zh_CN/filesystems/tmpfs.rst:5: WARNING: undefined label: tmpfs_index (if the link has no caption the label must precede a section header)

With automarkup, we don't actually need an explicit reference here at all,
so just take it out.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 09028e60fcea ("doc: zh_CN: add translatation for tmpfs")
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/zh_CN/filesystems/tmpfs.rst

index cf3ccab20e50adba18ef29f3ed2a8ff4914dd8cc..6fd9d83b2db5d51210348d210d37d681c324f566 100644 (file)
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/filesystems/tmpfs.rst <tmpfs_index>`
+:Original: Documentation/filesystems/tmpfs.rst
 
 translated by Wang Qing<wangqing@vivo.com>