[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/3] Docs: An initial automarkup extension for sphinx
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:
> > 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.


 \ /
  Last update: 2019-06-24 16:30    [W:0.077 / U:12.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site