Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2504517ybd; Mon, 24 Jun 2019 07:34:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqziGi7cN+0/1b3qImfawDjQJnm57MEXBAN8tBHECi+inijGp1hQpNAsqO1vDCByKfrtGEXB X-Received: by 2002:a17:90a:2430:: with SMTP id h45mr26117562pje.14.1561386872233; Mon, 24 Jun 2019 07:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561386872; cv=none; d=google.com; s=arc-20160816; b=0Qbq4BrGQym6Pm8aThmAzbvV7DW8Ri6HJ2gOjq5q5f9OPu+ZdVB24ihs5jcNWjb1sQ rSeHfq6/g3lvxIIFw1fnGjuyhu1et3/QWG81oNv7pV7DkKDMQHjHSwpzY2KcYWRSMzhX xq7RrlqtIj7ZuvmCJz2wzVc1cmhOgqr5ggKKTcqWCAcgRfnZ9nl2KVwgW8en3jPwp5t1 9Q4T1rDVUEbbLzR7ebLi4MPVADORyyqBEuOrBnF/mwPqDfNYklnnjrK2aepfXPLgQbRq 1AfZztv63ylrpb0sd7MCHlc4vhuezk9vCCHGTWDa/6or/jEIo9/13CaRgvBvluh8hx3A 6fyg== 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=NoYFgJEYUtdSWzmrsYpDCuR2PQPPllFExWm+/pei0Qg=; b=ZQeR+WP+BP6M+1nLUAn9lCsS/3TtT0c1sHzSIXWrrtXZlqtn8uwysiGa55gl7reM3F GbqesOEjxFUQ/AQ5Z6b9XWXgNGGw+8Up7jnlDTHRXiEDXHPtEZDrWUWCbYDPyKCf16ZQ /Z+hb6Ao4JYTYNvrTT5ngIyijf5LdetHbZJ/f1kedCoHb/wq8PbGW/OG/0wrr4wS+mtM wbRbWpxVyBL04CBX/ccN36wCfa8S0bidCT4QCgAMjeWMn6/2XnT3QQonyJNeMd60nZ9n Ncw8LdhWAt7zM+91EYUh84oXCisaUwukAPZGqwVeu7UtxyWQUEfo/ZUBqtAoc37EKqcw K8mg== 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 a88si11508896pje.6.2019.06.24.07.34.16; Mon, 24 Jun 2019 07:34:32 -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 S1728574AbfFXO3y (ORCPT + 99 others); Mon, 24 Jun 2019 10:29:54 -0400 Received: from ms.lwn.net ([45.79.88.28]:43898 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbfFXO3w (ORCPT ); Mon, 24 Jun 2019 10:29:52 -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 C180D537; Mon, 24 Jun 2019 14:29:51 +0000 (UTC) Date: Mon, 24 Jun 2019 08:29:50 -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: <20190624082950.5e338d37@lwn.net> In-Reply-To: <20190622144610.26b7d99c@coco.lan> References: <20190621235159.6992-1-corbet@lwn.net> <20190621235159.6992-2-corbet@lwn.net> <20190621220046.3de30d9d@coco.lan> <20190622084346.28c7c748@lwn.net> <20190622144610.26b7d99c@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 Sat, 22 Jun 2019 14:46:10 -0300 Mauro Carvalho Chehab wrote: > > > .. 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. > > It took me a while to discover this way to be able to re-define the > name of a symbol at the C domain, but I'm pretty sure I read this > somewhere at the Sphinx docs (or perhaps on some bug track or Stack > Overflow). > > I don't remember exactly where I get it, but I guess it is related to > this: > > http://docutils.sourceforge.net/docs/howto/rst-roles.html > > > I wonder if the same should be done for the others? > > Sure. It actually occurs to me that it might be better to keep the skip list and maybe expand it. There are vast numbers of places where people write open() or whatever(), and there is no point in even trying to cross-reference them. I should do some tests, it might even make a measurable difference in the build time to skip them :) And in any case, somebody is bound to put one of those common names into the namespace in the future, recreating the current problem. jon