Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp198440pxj;
Thu, 3 Jun 2021 04:37:49 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzOgQuCUm9LJhklTdyROvFTW4iXTMQnKhDUltKVYFZ4IxLQhUylxScwMDb1nTRsFj4gjbdU
X-Received: by 2002:aa7:cd77:: with SMTP id ca23mr43102804edb.378.1622720269031;
Thu, 03 Jun 2021 04:37:49 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1622720269; cv=none;
d=google.com; s=arc-20160816;
b=cttwZjD0I0WPITCs9aYxtt1FovIs0IY6bcnGdb2vutxptu5K+33gUgYn87JSBxwBOY
8tEXPWS6QQoitbtn1NgmBjeNHOXnmv+zRQuDcTY0f5s41vKCa1QICqUcZhDfwWRLQRXS
KLkWptFA0xzEMeWBsGN5LMUmul/Tn15fhYWyzKjGV059LEy4tIi+jhr2n02Nvt4gCfqt
BrwHe/xmNDxlcr1YW4xxqXtfrxFj7fUVBRenhNGcB1KSrJ7P0S91GpY4Tuq9CqrM3lAL
nd3y/MvViFz17RyQIBCysk/ajIfDYoTRh8oc6ME0jIafK+2GmYwmqkvYw5sF1pm4kFtS
MVwQ==
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=Qqpdkk/PqKcoraZXy+4YhL6bdjnSXP4PvOrKz0CXT1Y=;
b=E4D1BmWhNSTm+6F8/dkWAyMUn1DKJ4soxwYaV5jZRlarZxmQZ831gnEjEaiSytall6
NkCtL/6tRNgjTHQFOXFl/y/2HBJnSPODIIqMMNf1JIEBroCgtRc0nkCauVwcmMn+aqA2
6hEpZy3gscli5xPny0ybe85Qh9z+p+CT8nC3zNP3XRZCPneUb+uXmAJVKhS2/pExsvk8
GssIGENVvBm2NnC4RifcfN6GGOL4oCW3ziLZpWGlK02ce+mDrd5TaJbhqThIzopcRjCO
35qmVIAPEuTcs1cAqr6J8Joy33R77bTPautCPIXWB8e0ed5B+vRZon48/UqMZsPUkJ8r
orEA==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MAyr80K+;
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 r2si2193579edw.385.2021.06.03.04.37.27;
Thu, 03 Jun 2021 04:37:49 -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=MAyr80K+;
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 S230010AbhFCLhF (ORCPT + 99 others);
Thu, 3 Jun 2021 07:37:05 -0400
Received: from mail.kernel.org ([198.145.29.99]:37784 "EHLO mail.kernel.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S229840AbhFCLhF (ORCPT );
Thu, 3 Jun 2021 07:37:05 -0400
Received: by mail.kernel.org (Postfix) with ESMTPSA id 26B5C613E9;
Thu, 3 Jun 2021 11:35:16 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;
s=k20201202; t=1622720120;
bh=Y8bFIkLifsKJfKnmVZNGcWbsdgZzBCGpasopTV0wxY0=;
h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
b=MAyr80K+yANWljCa8bkRcqqEyEi2ii+Vf+HrV+uw6luMwGp55ZOckMfMpjAgU61cQ
LNYOjG9yxGYpWmO7G4+Zk3qH1ZsdewyaeveRSh/++Vht9drfCB4FJKOCyRlOP/C+IN
kxtXddcwt2aYOYfHm/DcpRPtnRTEUo420tn3Xi/IJz3Cx7ihc4npLunVJfznOS/GIR
DsRL8I41euKtXdprF4f6ahxz4IA036sMcMXEek7JhpGEu/gbgNfVP4CGxaY0bRZQTD
4ewzfbYytVtgrnoJkjAa6bYwpcFn6YhU8OtA5qh+7gyPUH9ATnmuo7TigfSlksSaJO
MRFVbZvXjmuTg==
Date: Thu, 3 Jun 2021 13:35:14 +0200
From: Mauro Carvalho Chehab
To: Jonathan Corbet
Cc: Peter Zijlstra ,
Linux Doc Mailing List ,
"Guilherme G. Piccoli" ,
Andrew Morton ,
Daniel Borkmann ,
Kees Cook ,
Lepton Wu , Mel Gorman ,
Qais Yousef ,
Randy Dunlap ,
Rasmus Villemoes ,
Stephen Kitt , Wang Qing ,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 07/12] docs: accounting: update delay-accounting.rst
reference
Message-ID: <20210603133514.3688071f@coco.lan>
In-Reply-To: <871r9k6rmy.fsf@meer.lwn.net>
References:
<629b0bd21d02c8faef9a6d17d9eee8ff612715e0.1622648507.git.mchehab+huawei@kernel.org>
<20210602200121.64a828a1@coco.lan>
<871r9k6rmy.fsf@meer.lwn.net>
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, 02 Jun 2021 12:36:05 -0600
Jonathan Corbet escreveu:
> Mauro Carvalho Chehab writes:
>
> > That's said, automarkup.py has a rule to convert Documentation/.rst
> > into :doc:``. So, an alternative approach would be to convert
> > treewide all :doc:`` into Documentation/.rst and add something
> > at checkpatch.pl to recommend to avoid :doc: notation.
>
> That seems like the right approach to me. We have the automarkup
> capability, we might as well make use of it...
Hmm...
This patch caused a regression:
PATCH] media: admin-guide: avoid using ReSt :doc:`foo` markup
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
diff --git a/Documentation/admin-guide/media/index.rst b/Documentation/admin-guide/media/index.rst
index 6e0d2bae7154..5dbf6d02096a 100644
--- a/Documentation/admin-guide/media/index.rst
+++ b/Documentation/admin-guide/media/index.rst
@@ -11,10 +11,10 @@ its supported drivers.
Please see:
-- :doc:`/userspace-api/media/index`
+- Documentation/userspace-api/media/index.rst
for the userspace APIs used on media devices.
-- :doc:`/driver-api/media/index`
+- Documentation/driver-api/media/index.rst
for driver development information and Kernel APIs used by
media devices;
This is the diff for the HTML output:
diff --git a/admin-guide/media/index.html b/admin-guide/media/index.html
index 94c0cdf51579..28c083b75896 100644
--- a/admin-guide/media/index.html
+++ b/admin-guide/media/index.html
@@ -339,12 +339,12 @@ its supported drivers.
Please see:
-- Linux Media Infrastructure userspace API
for the userspace APIs used on media devices.
+- Documentation/userspace-api/media/index.rst
for the userspace APIs used on media devices.
-- Media subsystem kernel internal API
for driver development information and Kernel APIs used by
+
- Documentation/driver-api/media/index.rst
for driver development information and Kernel APIs used by
media devices;
It sounds that automarkup.py ignored it. Maybe because it is inside
a list?
Thanks,
Mauro