[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210602182923.GC2458@worktop.programming.kicks-ass.net>
Date: Wed, 2 Jun 2021 20:29:23 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
"Guilherme G. Piccoli" <gpiccoli@...onical.com>,
Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kees Cook <keescook@...omium.org>,
Lepton Wu <ytht.net@...il.com>, Mel Gorman <mgorman@...e.de>,
Qais Yousef <qais.yousef@....com>,
Randy Dunlap <rdunlap@...radead.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Stephen Kitt <steve@....org>, Wang Qing <wangqing@...o.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/12] docs: accounting: update delay-accounting.rst
reference
On Wed, Jun 02, 2021 at 08:01:21PM +0200, Mauro Carvalho Chehab wrote:
> Em Wed, 2 Jun 2021 18:38:29 +0200
> Peter Zijlstra <peterz@...radead.org> escreveu:
>
> > On Wed, Jun 02, 2021 at 05:43:13PM +0200, Mauro Carvalho Chehab wrote:
> > > Enables/disables task delay accounting (see
> > > -:doc:`accounting/delay-accounting.rst`). Enabling this feature incurs
> > > +:doc:`/accounting/delay-accounting`). Enabling this feature incurs
> >
> > This breaks any chance of using 'goto file' like features in text
> > editors :/
>
> This is a feature of your favorite text editor. Not all have it.
Afaict both vim (gf) and emacs (M-x ffap) can do this. That covers about
99% of all sane editors no? :-)
> That's said, automarkup.py has a rule to convert Documentation/<foo>.rst
> into :doc:`<foo>`. So, an alternative approach would be to convert
> treewide all :doc:`<foo>` into Documentation/<foo>.rst and add something
> at checkpatch.pl to recommend to avoid :doc: notation.
That sounds good, thanks!
Powered by blists - more mailing lists