Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2015278imu; Wed, 21 Nov 2018 05:34:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/VMmZSQWdD4zYgWUGcA6+luZSWnmMRkitC39KH79Q11gQsQ9Pazy1pFexymv5hIxlV+H6rf X-Received: by 2002:a17:902:6113:: with SMTP id t19mr6627888plj.248.1542807288603; Wed, 21 Nov 2018 05:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542807288; cv=none; d=google.com; s=arc-20160816; b=y6XdB6rEV7mwerriVuHpL1ekpgv9kBsrLCv5kUjlRCs5LfZW5SduYm50FglcM0fn3k KDnkMAd0ZunQNK81VO78YREDRQH23Gs71ZftcofLJrCE/pUWB0zQ+9hyJoIrvrCJDjwl 1HDID+c6JudlAs+JJUPJpb3R8fzzsxgXqYennuOvL8BevGkY26PEULf70oy9JnUWhlRK wYryK0z9fpAvbpNaaPySFQzomueHDT+RIb1owyRVcsKQGj2zQEj8+vg68xOo0kVUnI1P kwa4M81NCEfRYlWG9DuC4iCdGSsjrcGTpASbzG4dzQmhWAjcg6jeKIU9/IFGr5Ll4W6n ljaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E20md2x0HrARDRzba6iknG/3/1PhChI3v+zQJ1xSUJs=; b=jKDcEyCcp+IKtLWj8OolCdoQA+Ib3Sp4FB2AbikDpUDpkP4B/MW1Jt06hk6leskQSf stIbIYwvzd+aHJgYysvC739Kly7hiODHgpusL2VBObCyDehlkDvDaT+zSJ3/v4HIRwGV rdUsa2GmeZkT64x3WD8MRYZyVQd9j9O2nFjA/kcIZFK6nzw9GQLQFcS/Jaf6AlR+l4aA tjvT2jeE2gkuKJbcyu1bQjQreIUK4ShHT/JTsL83L3MpkA1JnJi1crDrPBUHgARFiQhC QvI01Qr0AhiUr2C+fylBj4JeOFdw2mxMHPNtjuKsr8IGnA3T848YVtRT2Ls4NrfQXDXW tGWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Yeb3vx5a; 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 r197si14593160pfr.192.2018.11.21.05.34.22; Wed, 21 Nov 2018 05:34:48 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Yeb3vx5a; 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 S1730484AbeKUX6Q (ORCPT + 99 others); Wed, 21 Nov 2018 18:58:16 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:44404 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbeKUX6Q (ORCPT ); Wed, 21 Nov 2018 18:58:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=E20md2x0HrARDRzba6iknG/3/1PhChI3v+zQJ1xSUJs=; b=Yeb3vx5af1jZEKO6EGKD4QFcH kjWBTf5kWXtRmsmM08FFfxesly7UO5NbMnbQq46wKFZK35/ooDITPZSihTg+LwE23y9HPKObXhtoa H6HsopIHx9ZmOAVj00GtPM3c1p7Y00K9oAj/m+doxH4Pn4wUWW8wJUOQ10p+0PzhZD7xWnMFMLEYt sRNwll3o76XdaM/KJWJaP8QKV4hR+7GnrCu13X2FF/ipoj3C82eo3IKIIjblZMKO1VS29mFoyOa71 z00VNuKcjofzs06bCHM3w9KwajNOCaQUMfyLCpjTYChEYlRWXA4YlDofqo34Ohd1LjO/aspjrtKnt TNvJnVe6w==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPSTr-0001QE-0o; Wed, 21 Nov 2018 13:23:47 +0000 Date: Wed, 21 Nov 2018 05:23:46 -0800 From: Matthew Wilcox To: Federico Vaga Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] doc:process: add links where missing Message-ID: <20181121132346.GG3065@bombadil.infradead.org> References: <20181121003519.12559-1-federico.vaga@vaga.pv.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181121003519.12559-1-federico.vaga@vaga.pv.it> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: 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. Maybe that's why yours works with the underscores and mine didn't?