From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E936C4361B for ; Mon, 14 Dec 2020 20:19:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 40ABD2168B for ; Mon, 14 Dec 2020 20:19:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502847AbgLNUTY (ORCPT ); Mon, 14 Dec 2020 15:19:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388136AbgLNUTV (ORCPT ); Mon, 14 Dec 2020 15:19:21 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80913C0613D3 for ; Mon, 14 Dec 2020 12:18:41 -0800 (PST) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id E512F2C1; Mon, 14 Dec 2020 20:17:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net E512F2C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1607977064; bh=QLI/egtl/FomJoWgApEqMIP5NgPgYuRFAI2eyPIlVK0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G04smzzbupfuSYIT2doemW6+DddWm9fDKYjHMZtEeMr9KDgGFK0lTotg4pTOk+BWu oNgJevOGttLeWPYQR3bJF9KDeHeds5C2hEJ2cgFA2pnvxk9D1wZcfLr1DZ08dscK5B KMTeb6zyn2QTnHpGLjuAGHFmfQ8AOHbkQDRbyzw051iM5Tber7RUHjMHWFALFC+5/v hiUMdf+V+rgrgOsEhEk5pTilg/s6fCw5soQwyduZQhlUI0jC5EcY8nO0NoqQwMZuqk 0orElOBUnGFdl0+urICeEO4AVen3BQxCEfsN76wwMAkBx6cx8PpqA4c+9zq/kjEbl1 9k0vdUPARrUGQ== Date: Mon, 14 Dec 2020 13:17:42 -0700 From: Jonathan Corbet To: Stephen Rothwell Cc: Wang Qing , Linux Kernel Mailing List , Linux Next Mailing List , linux-doc@vger.kernel.org Subject: Re: linux-next: build warning after merge of the jc_docs tree Message-ID: <20201214131742.20d2252f@lwn.net> In-Reply-To: <20201215065143.65ccf365@canb.auug.org.au> References: <20201116170303.0d457d04@canb.auug.org.au> <20201215065143.65ccf365@canb.auug.org.au> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, 15 Dec 2020 06:51:43 +1100 Stephen Rothwell wrote: > On Mon, 16 Nov 2020 17:03:03 +1100 Stephen Rothwell wrote: > > > > After merging the jc_docs tree, today's linux-next build (htmldocs) > > produced this warning: > >=20 > > Documentation/translations/zh_CN/filesystems/tmpfs.rst:5: WARNING: unde= fined label: tmpfs_index (if the link has no caption the label must precede= a section header) > >=20 > > Introduced by commit > >=20 > > 09028e60fcea ("doc: zh_CN: add translatation for tmpfs") =20 >=20 > 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 =46rom 47e44ed01434e51e2e42b188482d837c01e5d16e Mon Sep 17 00:00:00 2001 From: Jonathan Corbet 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: undefi= ned 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 Fixes: 09028e60fcea ("doc: zh_CN: add translatation for tmpfs") Signed-off-by: Jonathan Corbet --- 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/Docum= entation/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 @@ =20 .. include:: ../disclaimer-zh_CN.rst =20 -:Original: :ref:`Documentation/filesystems/tmpfs.rst ` +:Original: Documentation/filesystems/tmpfs.rst =20 translated by Wang Qing =20 --=20 2.28.0