Skip to content

Commit

Permalink
docs: fix broken cross reference in translations/zh_CN
Browse files Browse the repository at this point in the history
Commit 09028e6 ("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: 09028e6 ("doc: zh_CN: add translatation for tmpfs")
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Jonathan Corbet committed Dec 14, 2020
1 parent 13fef8e commit 47e44ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/translations/zh_CN/filesystems/tmpfs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 47e44ed

Please sign in to comment.