Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp174850pxj; Wed, 16 Jun 2021 23:39:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9XE4kX0LWKEHIgvAFU00as4dYti8QuvhZ5qPNy+x6G0QV1nRdXPaZFQl0qVNuEeC9Uujc X-Received: by 2002:a05:6402:946:: with SMTP id h6mr4372196edz.261.1623911991981; Wed, 16 Jun 2021 23:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623911991; cv=none; d=google.com; s=arc-20160816; b=IzoMOmJ94vImvnOmBB4s8PQnc6XX6eE8RpUEX+khJIX88KysRsn144Vmw3PNchwFjJ MplNlifbOwkCUK4HpxMdnyOelnlIY4GeSic2GZ3zcbZCiVOIBBILqb/vygbMVnQxKdJv 2iFDxL2ITMYnPWAChF3M3rTf5jQY/UlliS6KT7r+2O9FInwcgGdve/1+IpwwHe0IbWCT pxuJTfmtZ+NJzQ68OG8qRoX8QvLQ2ffoV+Jtijb2r2f9ukVtzMWlT4ra+zeY/afT+k/y P92Rtzq9w5Ulm0MQKzY5dK3shWX3Rqxxa7dHTAo0GITN+2J1wa0pR48DHhc2sZBYmKDz 6mbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=BqzBNmCaJmgpav9MELHOEOh4tQYEbxwz9sJRc6rdKlI=; b=Mc3fULAauAagINrxhIdDJAOjScDCnb42y5hO/UKF7o/TgPwY3B3W58M/GK9xugwn/E 8mF4uTBZFhkJQR/kM+FBKwCkeiXwuzGY4K2bGhv8A1mRhauvuDJhBsTULFABQnGH+Vun K0274+kyKIgUvy/py5/pHdPCVbK5E3j+oVs95LG8wsXix3EWjivAK2XTQLmm0PL/9RHl ihAtblWyWVVl6CpG50XKbRjlpySehpiOT2gRtw0QG9guyELR4BeNXHmZ0GaYtKckRpm5 YyhFN1QfyhZljGyQ7mWIh9RZyttCc1veYhpSH4Vljeqwk9V/UO+Lrb8Vip5BwS3thVOH De8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L42u0fbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf15si4303320edb.548.2021.06.16.23.39.29; Wed, 16 Jun 2021 23:39:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L42u0fbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbhFQGk1 (ORCPT + 99 others); Thu, 17 Jun 2021 02:40:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:47558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhFQGk1 (ORCPT ); Thu, 17 Jun 2021 02:40:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 26F7A613F1; Thu, 17 Jun 2021 06:38:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623911900; bh=NES46J8fLBM5sWODCW8AHAPNTZbARRH1Rzn7KVC8Z6U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=L42u0fbIEQAvXZf6Gc5BsPkY8+OAyrphe38pHeaoFDtIEeFaiSva1l7BSkdZDGNbi XIHYUSj+vTh0VAnmuROhOwd7iisBNas0uDyCl6Jnf06IVBqr3Lgdnu98BktnpJqL7U qpxCZfVuZHQyPNr/EZ0ukwgRG7PfSWkT2rBjLZwP35vl+XR0/tJX/CwZgTEuTs2R/y C+gCkbJSUNtvGwqc8NGZOGko40E+iO1jbq/T+DN7C2vPQA+wdbFZsfbFWFFrTdoZtO 3tm4HMbhRB5O5oQbaDimOH1R38z29MtPXOUe8SamCRowmFuTa+Te4wo9MWP4SzA13x DZKkNFy2EUSSQ== Date: Thu, 17 Jun 2021 08:38:15 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: Jonathan Corbet , Linux Doc Mailing List , "=?UTF-8?B?TsOtY29sYXM=?= F. R. A. Prado" , Geert Uytterhoeven , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 11/29] docs: devicetree: bindings: submitting-patches.rst: avoid using ReST :doc:`foo` markup Message-ID: <20210617083815.3a588868@coco.lan> In-Reply-To: References: <0048c23d47b582dd1a1959628fd2b895209ac826.1623824363.git.mchehab+huawei@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 16 Jun 2021 16:08:05 -0600 Rob Herring escreveu: > On Wed, Jun 16, 2021 at 12:27 AM Mauro Carvalho Chehab > wrote: > > > > The :doc:`foo` tag is auto-generated via automarkup.py. > > So, use the filename at the sources, instead of :doc:`foo`. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > .../devicetree/bindings/submitting-patches.rst | 11 ++++++----- > > 1 file changed, 6 insertions(+), 5 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/submitting-patches.rst b/Documentation/devicetree/bindings/submitting-patches.rst > > index 104fa8fb2c17..8087780f1685 100644 > > --- a/Documentation/devicetree/bindings/submitting-patches.rst > > +++ b/Documentation/devicetree/bindings/submitting-patches.rst > > @@ -7,8 +7,8 @@ Submitting Devicetree (DT) binding patches > > I. For patch submitters > > ======================= > > > > - 0) Normal patch submission rules from Documentation/process/submitting-patches.rst > > - applies. > > + 0) Normal patch submission rules from > > + Documentation/process/submitting-patches.rst applies. > > > > 1) The Documentation/ and include/dt-bindings/ portion of the patch should > > be a separate patch. The preferred subject prefix for binding patches is:: > > @@ -25,8 +25,8 @@ I. For patch submitters > > > > make dt_binding_check > > > > - See Documentation/devicetree/bindings/writing-schema.rst for more details about > > - schema and tools setup. > > + See Documentation/devicetree/bindings/writing-schema.rst for more details > > + about schema and tools setup. > > These don't match $subject. Well, I just seek for all places where Documentation/* are, and adjusted them to 80-columns. I'll add a comment. > > > > > 3) DT binding files should be dual licensed. The preferred license tag is > > (GPL-2.0-only OR BSD-2-Clause). > > @@ -84,7 +84,8 @@ II. For kernel maintainers > > III. Notes > > ========== > > > > - 0) Please see :doc:`ABI` for details regarding devicetree ABI. > > + 0) Please see Documentation/devicetree/bindings/ABI.rst for details > > + regarding devicetree ABI. > > Is this new? You did review my oneliner adding ':doc:' not too long ago. Yes. It is due to some discussion we had upstream: https://lore.kernel.org/linux-doc/871r9k6rmy.fsf@meer.lwn.net/ While the html/latex/pdf output is identical (as automarkup.py will convert Documentation/foo.rst into a cross-reference), using full path names allow developers to jump directly to other documents when they have the path name. > > > > > 1) This document is intended as a general familiarization with the process as > > decided at the 2013 Kernel Summit. When in doubt, the current word of the > > -- > > 2.31.1 > > Thanks, Mauro