Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2395121imu; Wed, 21 Nov 2018 10:57:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/W0zLfemPknPE4ENPrtsEVAQx+jgA9KtMDY7AajHCJlZTNK7OKD8a+t7WlZ+6X3TpJLHRlh X-Received: by 2002:a63:594d:: with SMTP id j13mr7054758pgm.210.1542826657044; Wed, 21 Nov 2018 10:57:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542826657; cv=none; d=google.com; s=arc-20160816; b=ZdkRdbOkZh3dF6dFEbrK42fMhO9dWKaP0vDsAePzOGvfRgwCGE92PV0pQBMnRYWNdz v7sbnmAiTsC5wU1U6YG6xTQYsiDFJmG0qDmYP41GHpdGYFIjnjQWjczQv6CpTl/6kOWC ikw3PTLBlsvCdmXcYP2spSDpVlwhQXByCjQF4nY4fcAwKIyqJ58CqbE5ZiPSJLbEFBF+ yBiW7OL5K7RTSyraiXuNFPm9eZr1Q+MheQVh4ZT6Rqk/9S0BQbTUrGA+YZeeE0GzblDY 2TKuXotZaYboo0EYymEHa35vU2gAC7r2Eez/fTexmX1V2IJ7l29fFDSAJHDh0J1fcC+6 +e6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YdsMC3JWrhMd658gz1ABveCbMekDsMRD/iUEtUYf4s8=; b=rCh8eSZJJ9BeoElLIpfTnsVLC7KxCktSQAuUmFjes4H+zNr/lvBxhN3otL1drmbwvE CBanOzDvY7HoZv71sCCtA3GYUOFTV5eSK8OeEDqB9l9TPGDBFru1+4zCuSmxOSqSDWj/ b1516LrTVpKESejRFyVVQqxqR0GJbmowmg4J2F7JDVdb0jwnEf+JQHiOzAe+4Dzza4QL 6RLh7ZYx3ews9CE3n+mEnZJFsX37ViiTVAodxkbD1bQadt0RwTwHy2/nj6GALQc10KJK BtGN3SOAYFBQo53fmjV4zVFMqWly59peSKHTabWXlFRCYf+obk4GwBv3dEd7SmD8keT9 nFeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b="cif+df//"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si10825168pfn.285.2018.11.21.10.57.06; Wed, 21 Nov 2018 10:57:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b="cif+df//"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731605AbeKVC2p (ORCPT + 99 others); Wed, 21 Nov 2018 21:28:45 -0500 Received: from mx.kolabnow.com ([95.128.36.42]:13722 "EHLO mx.kolabnow.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731131AbeKVC2p (ORCPT ); Wed, 21 Nov 2018 21:28:45 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 29F27A64; Wed, 21 Nov 2018 16:53:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1542815622; x=1544630023; bh=YdsMC3JWrhMd658gz1ABveCbMekDsMRD/iU EtUYf4s8=; b=cif+df//MKyHjZxDkgmwiCY7WT2kGIJqoIYiK/xyKxbX7J9kotJ oTXNDCNEUhtUa/EM01vXDCcwH8CupT48fFXjC3RMcE16kt6aVVvN5O28X6Bj0Oaa Ecl/ewCkCvR3o1x6M3qT8+L2n2A5Gq8W8owO1/aach2MM9MLcmJef+1xSLEaZfoq r0vRE54D7eQfGCB/Tqg76J1uszumqIjTvRNV2SK286Uq68CeJS86i7FahAwEMMqe kiypnAzjyMMXpe2H30aEW6kfUEeyxHnSNRpvKZ7bS/iON1Y6t7U5w22NFXjhjzpj AvlKCRsZHYFN/hOkpgSw5NeMMTjmyc+KFD0z/kk7LXX1u8lkkNA34yC/mObpk3WA zvPFJM/EklPG/cyx6r8b727j/2nf8/ag784c/chn3lgYiA13VXL1xFdVvJTfKala fQejiRObf5vH2SPDHMYF0JKdGr+N9i9IZnJeX3BGAiXZSi4SuXf5c3bbM69bFbsj +gfTcerhOr4neOzbeFt4GoHZYehyfDLH9SNyMA2aMPvR6lDSi4cd7VkAnAX6X75e qapyOAFLtcvYUT8qr99i4rB0TZugwFywAYsn/EkgRmuBK2go9jar6LajfkOWVpQE s13SJQG+J1sabmIY+UkgsPV74cryFEHwZsntW+PJEBo6c17dQcxsnPrk= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=4.5 tests=[none] autolearn=disabled Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5cIcBsz10Gza; Wed, 21 Nov 2018 16:53:42 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id A7825811; Wed, 21 Nov 2018 16:53:42 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 4B997B51; Wed, 21 Nov 2018 16:53:42 +0100 (CET) From: Federico Vaga To: Matthew Wilcox Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] doc:process: add links where missing Date: Wed, 21 Nov 2018 16:53:41 +0100 Message-ID: <2954499.FhAtZrsb9b@pcbe13614> In-Reply-To: <20181121132346.GG3065@bombadil.infradead.org> References: <20181121003519.12559-1-federico.vaga@vaga.pv.it> <20181121132346.GG3065@bombadil.infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, November 21, 2018 2:23:46 PM CET Matthew Wilcox wrote: > On Wed, Nov 21, 2018 at 01:35:19AM +0100, Federico Vaga wrote: > > Some documents are refering to others without links. With this > > patch I add those missing links. > > I am a neophyte to ReST, but ... > > > +++ b/Documentation/dev-tools/coccinelle.rst > > @@ -4,6 +4,8 @@ > > > > .. highlight:: none > > > > +.. _devtools_coccinelle: > > + > > > > Coccinelle > > ========== > > > > +++ b/Documentation/process/4.Coding.rst > > @@ -315,7 +315,8 @@ variety of potential coding problems; it can also > > propose fixes for those> > > problems. Quite a few "semantic patches" for the kernel have been > > packaged > > under the scripts/coccinelle directory; running "make coccicheck" will > > run > > through those semantic patches and report on any problems found. See > > > > -Documentation/dev-tools/coccinelle.rst for more information. > > +:ref:`Documentation/dev-tools/coccinelle.rst ` > > +for more information. > > when I tried to do something like this yesterday, I discovered that > doing: > > +.. _memory_allocation: > > didn't work, and I had to do: > > +.. _memory-allocation: I would say that in principle it should not make a difference. Both '-' and '_' characters are explicitly allowed: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#reference-names > instead. Also, when doing 'ref', do we want this style of ref, or do we > > prefer the plain: > :ref:`devtools-coccinelle` > > which is what I did yesterday. The style depends on the situation. In this patch (mine) the objective is to show that there is a file that talk about the topic, it's there (the path is visible), and by the way if you click on it you are able to open it. > Maybe that's why yours works with the underscores and mine didn't? This, honestly, I do not know. Perhaps it depends on the Sphinx version in use or some other python package? As explained here: https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html Sphinx environment can be fragile. -- Federico Vaga http://www.federicovaga.it/