Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp490940ybd; Sat, 22 Jun 2019 07:45:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzklkH6UwCO7kSpODMbSsPKKB8b686AGhdj9FkhWDDsfR7Slpf37Ea9IlX/KnZ4VhQbnKY X-Received: by 2002:a17:902:b215:: with SMTP id t21mr18233237plr.123.1561214758207; Sat, 22 Jun 2019 07:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561214758; cv=none; d=google.com; s=arc-20160816; b=BhqgfWkcZDt6suDZyi4vwFVFNjHaSCowHwIMM55yg4OkSHx2mkj4cdCQC9IeQhbWlv 2KZ0Hwng9a1NH0gGuayV1+pgIgG2gxuCb673mS1msnxtAkkKe5R3DDDnqOYTw3o39EK0 xm30SP8RcIDnO9mIYf7lthbgJ5QzmHRb33odQ/2JGRkru0GpdIVs+LeVsqibuJyXl+Gc qKEhXY/gDNvgafqNp4zYgoaMRigBjie+e3ca5yot2p8drvQJuzpvrSVVIoPB6gMeL3NN KmP2cCozsF7gkJixxgLxXwCv/Il+VzCg8cvDhx83eLEzfAvZxO+qOfTmI3LoMrWSlh8U R4Hw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=MFcWqEpgwNZoQtW9GODKyn7PIsht3SjzUghOIBqb7HI=; b=Jc6ZrgZk9XabfuayyociziuGV7svN1q+6jrLWZB2h5TZRhrnVKdlGSQaKskCigXPlz jY1e9bOkqFPP94VLntebDsY1nojYMWT+m1wFcQj4o7v0YRcRn1Sbi8yo+41uSR0LoPPo crVumYRWMGjjmXCMoEVQRgtaamGPEbU/Fob6JZJvbvgYasFfBHvXhQzCBwqKmxIjjdJr BQV/8KJSRXKvTOOm1mm8sD+v/0m4JOHv7EoWFYZCzGv9xGpjJSygHDFyIbUiJhabdC0q 7IJEvVQylKOzq7+balguQJyCTMgzszXJ/J89Qd81ulqhaumPqibp7jlLwU8encnSvlG+ sQkQ== ARC-Authentication-Results: i=1; mx.google.com; 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 b2si5143492pgt.270.2019.06.22.07.45.41; Sat, 22 Jun 2019 07:45:58 -0700 (PDT) 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; 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 S1726317AbfFVOnt (ORCPT + 99 others); Sat, 22 Jun 2019 10:43:49 -0400 Received: from ms.lwn.net ([45.79.88.28]:59774 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbfFVOns (ORCPT ); Sat, 22 Jun 2019 10:43:48 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 0CBE84FA; Sat, 22 Jun 2019 14:43:48 +0000 (UTC) Date: Sat, 22 Jun 2019 08:43:46 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: linux-doc@vger.kernel.org, Matthew Wilcox , Jani Nikula , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] Docs: An initial automarkup extension for sphinx Message-ID: <20190622084346.28c7c748@lwn.net> In-Reply-To: <20190621220046.3de30d9d@coco.lan> References: <20190621235159.6992-1-corbet@lwn.net> <20190621235159.6992-2-corbet@lwn.net> <20190621220046.3de30d9d@coco.lan> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 Jun 2019 22:00:46 -0300 Mauro Carvalho Chehab wrote: > > +# > > +# The DVB docs create references for these basic system calls, leading > > +# to lots of confusing links. So just don't link them. > > +# > > +Skipfuncs = [ 'open', 'close', 'write' ] > > and yeah, of course, if there's something weird, it has to be at > the media docs :-) > > Btw, if I'm not mistaken, we do the same for ioctl. So that's actually interesting. In, for example, Documentation/media/uapi/v4l/func-ioctl.rst, you see something that looks like this: > .. c:function:: int ioctl( int fd, int request, void *argp ) > :name: v4l2-ioctl Some digging around didn't turn up any documentation for :name:, but it seems to prevent ioctl() from going into the list of functions that can be cross-referenced. I wonder if the same should be done for the others? I think that would be better than putting a special-case hack into the toolchain. > I'm wandering if this could also handle the Documentation/* auto-replace. I think it's the obvious place for it, yes. Let's make sure I haven't badly broken anything with the existing change first, though :) Thanks, jon