[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160218060108.2107ffe9@lwn.net>
Date: Thu, 18 Feb 2016 06:01:08 -0700
From: Jonathan Corbet <corbet@....net>
To: Daniel Vetter <daniel.vetter@...ll.ch>
Cc: Jani Nikula <jani.nikula@...el.com>,
Keith Packard <keithp@...thp.com>,
LKML <linux-kernel@...r.kernel.org>, linux-doc@...r.kernel.org
Subject: Re: Kernel docs: muddying the waters a bit
On Thu, 18 Feb 2016 10:24:04 +0100
Daniel Vetter <daniel.vetter@...ll.ch> wrote:
> > Worth noting is that, AFAICT, in all of the proposals, including the
> > original where kernel-doc produces docbook, this autoreferencing only
> > works within parts processed by kernel-doc. Not in the template
> > documents themselves. (You can still use the markup's more verbose cross
> > referencing keywords.)
>
> It works everywhere, even in the docbook template, as long as you mark
> it up correctly. Which in docbook means <function>func</function>.
In Sphinx that's :func:`function_name`. Not a thing of beauty, but it
works.
jon
Powered by blists - more mailing lists