linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: build warning after merge of the jc_docs tree
       [not found] ` <20201215065143.65ccf365@canb.auug.org.au>
@ 2020-12-14 20:17   ` Jonathan Corbet
  0 siblings, 0 replies; only message in thread
From: Jonathan Corbet @ 2020-12-14 20:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Wang Qing, Linux Kernel Mailing List, Linux Next Mailing List, linux-doc

On Tue, 15 Dec 2020 06:51:43 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> On Mon, 16 Nov 2020 17:03:03 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > After merging the jc_docs tree, today's linux-next build (htmldocs)
> > produced this 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)
> > 
> > Introduced by commit
> > 
> >   09028e60fcea ("doc: zh_CN: add translatation for tmpfs")  
> 
> I am still getting this warning.

OK, enough of that; I've just tacked on the following patch to address
this problem, thanks for the report.

Thanks,

jon

From 47e44ed01434e51e2e42b188482d837c01e5d16e Mon Sep 17 00:00:00 2001
From: Jonathan Corbet <corbet@lwn.net>
Date: Mon, 14 Dec 2020 13:14:22 -0700
Subject: [PATCH] docs: fix broken cross reference in translations/zh_CN

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/filesystems/tmpfs.rst b/Documentation/translations/zh_CN/filesystems/tmpfs.rst
index cf3ccab20e50..6fd9d83b2db5 100644
--- a/Documentation/translations/zh_CN/filesystems/tmpfs.rst
+++ b/Documentation/translations/zh_CN/filesystems/tmpfs.rst
@@ -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>
 
-- 
2.28.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-14 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201116170303.0d457d04@canb.auug.org.au>
     [not found] ` <20201215065143.65ccf365@canb.auug.org.au>
2020-12-14 20:17   ` linux-next: build warning after merge of the jc_docs tree Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).