Re: [PATCH 07/12] docs: accounting: update delay-accounting.rst reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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!



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux