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

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2021-06-02 16:39:06 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/06/1400198
- Thread: https://ratatoskr.run/linux-doc/2021/06/1400134/t.md

```text
On Wed, Jun 02, 2021 at 05:43:13PM +0200, Mauro Carvalho Chehab wrote:
> When :doc: is used, the .rst should be removed. Also, the patches
> are relative to the current directory.
> 
> So, the right reference should be:
> 
> 	:doc:`/accounting/delay-accounting`
> 
> Fixes: fcb501704554 ("delayacct: Document task_delayacct sysctl")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>  Documentation/admin-guide/sysctl/kernel.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
> index b2057173fe07..7f36cba3204b 100644
> --- a/Documentation/admin-guide/sysctl/kernel.rst
> +++ b/Documentation/admin-guide/sysctl/kernel.rst
> @@ -1097,7 +1097,7 @@ task_delayacct
>  ===============
>  
>  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 :/ Can we please not do crap like this.
```
