Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1996581pxj; Sat, 5 Jun 2021 09:15:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyGDjBGJSekyw4xB/cvdQzC/LRD1v4FfX/DRfBDqhouV3plFQtpJ8xU9Czs24agDGMUAy0 X-Received: by 2002:aa7:cdc5:: with SMTP id h5mr10872532edw.217.1622909739046; Sat, 05 Jun 2021 09:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622909739; cv=none; d=google.com; s=arc-20160816; b=FlCqdOE/KO4hK591+UbqJAVz9P2b5zhsNp2u5/cGLoxptGck1gGChjMknOHLMS3VIg hCXJnJyEuZrp16uH7eUJ949sK4NdzWcL0tFDgVZO6lbEXtgF2qBJMAo0tldUqnbtXbuv w8e7AwoIZ5BzqUr9GGe+iJMlOFDjZiJVuqV4rV3TRTk6c4KOUg4YxDGaqtHkWsvytuBn orPUnkysdOBr0MWKOOOVlHl6L8ZbErh5E6MdAi4a6XLW78tSagA9Mcdh8Rd/vckYoc6C 3T6quRRZm6H74kgu1uVZtxbji9BLOAFU+vDEuoTWqTMjADpkDboreYO56sVvzQYLVfBP b/PA== 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=pcRE8TO8MmY4FUmsRjuIlvLG3B/VKY7o2oE40bGVurk=; b=kULqP5DvLY/hqJ9lIoDuNwpUhN8gIkBRyWQx2cFrfxPpPE4sqB3+Fvp+VM7Naqgw4R IdxnGkwdjjpTBp1pc6P/mkye1wgfduVPKU9/1B9XlnN0G+/WYon89VeSKLq07QHTVHq5 cCGlz056G7C4Vm10RaHvReu2xyZbQ/H/StO8btQ66VEm2WlI/qedfngLY12Tni8k3pfE lG6OKRTqn92MOgcKdNv5xIFizhM8TPyF5iAL9D92tlnimhOUrFFmnvIOXKUgIae2TMbj L5tuotQdGBcW5+FpJe9Y42XVnLL4dn9rfG/TLu3Kp0IS6/hliYzTmMYAOh0R42Gtavxt o6xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h8je3nNf; 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 e27si8462481ejl.653.2021.06.05.09.15.16; Sat, 05 Jun 2021 09:15:39 -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=h8je3nNf; 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 S230026AbhFEQPH (ORCPT + 99 others); Sat, 5 Jun 2021 12:15:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:56546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbhFEQPG (ORCPT ); Sat, 5 Jun 2021 12:15:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 415F261107; Sat, 5 Jun 2021 16:13:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622909598; bh=SA5TEU+2VLG56VJsWiXFfbq1+IATGpk0WcRtynKouYQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=h8je3nNfdPMWLaSstwksH2HUFfv92PhNait5QX6wGaW6wJu2PYnONmGWNPvewgMMx m2coc7Ajx5QYNAsd5PcE29AshjLvujwf98ajO97ibsGlQQgt/IPk27C7jmA6y1YDjo v43xIsTn2ZMs7T/EvAj/7enc6bO/84cIzevLaAN8fCaUxru1ZIV5LLK3VvKHLvb7P/ nKgHGI9mndrTluywCQaCpxcoY9SgrLknMuxrB8GJe+dmm+UXEAkcvus0sObF79ELu1 SMI1GCWHejulJjZttGbpzs0xfiuw5cPmllOOhs88CWLQPpG+GeerS6zMVTsnxbZFGx PylZk6V8d1e6w== Date: Sat, 5 Jun 2021 18:13:14 +0200 From: Mauro Carvalho Chehab To: David Gow Cc: Jonathan Corbet , Linux Doc Mailing List , Daniel Latypov , Marco Elver , Linux Kernel Mailing List Subject: Re: [PATCH 13/34] docs: dev-tools: testing-overview.rst: avoid using ReSt :doc:`foo` markup Message-ID: <20210605181314.1e76f10d@coco.lan> In-Reply-To: References: <63fe86c8de5cced00a1bb5d18d6c7f087268565a.1622898327.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 Sat, 5 Jun 2021 23:43:55 +0800 David Gow escreveu: > On Sat, Jun 5, 2021 at 9:18 PM 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 > > --- > > Hmm... I'd originally wanted this to read more like the name of the > tool than the path to the doc file, but given the :doc: prefix and > backticks are equally ugly, and no less confusing to the plain-text > reader than the filename, I'm happy to have this changed. Particularly > if we're standardising on this across the kernel documentation. Yeah, the idea is to avoid :doc: treewide, at least for simple cases. I'm proposing that we should still keep using: :doc:`some description ` for named references, which is still ugly in plain-text, but can be used to provide a better hyperlink when the docs are converted into html/LaTeX/pdf, as it would be converted (in html) as: some description > Reviewed-by: David Gow Thanks! Mauro > > > -- David > > > Documentation/dev-tools/testing-overview.rst | 16 ++++++++-------- > > 1 file changed, 8 insertions(+), 8 deletions(-) > > > > diff --git a/Documentation/dev-tools/testing-overview.rst b/Documentation/dev-tools/testing-overview.rst > > index b5b46709969c..65feb81edb14 100644 > > --- a/Documentation/dev-tools/testing-overview.rst > > +++ b/Documentation/dev-tools/testing-overview.rst > > @@ -71,15 +71,15 @@ can be used to verify that a test is executing particular functions or lines > > of code. This is useful for determining how much of the kernel is being tested, > > and for finding corner-cases which are not covered by the appropriate test. > > > > -:doc:`gcov` is GCC's coverage testing tool, which can be used with the kernel > > -to get global or per-module coverage. Unlike KCOV, it does not record per-task > > -coverage. Coverage data can be read from debugfs, and interpreted using the > > -usual gcov tooling. > > +Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be > > +used with the kernel to get global or per-module coverage. Unlike KCOV, it > > +does not record per-task coverage. Coverage data can be read from debugfs, > > +and interpreted using the usual gcov tooling. > > > > -:doc:`kcov` is a feature which can be built in to the kernel to allow > > -capturing coverage on a per-task level. It's therefore useful for fuzzing and > > -other situations where information about code executed during, for example, a > > -single syscall is useful. > > +Documentation/dev-tools/kcov.rst is a feature which can be built in to the > > +kernel to allow capturing coverage on a per-task level. It's therefore useful > > +for fuzzing and other situations where information about code executed during, > > +for example, a single syscall is useful. > > > > > > Dynamic Analysis Tools > > -- > > 2.31.1 > > Thanks, Mauro