Thread (36 messages) 36 messages, 12 authors, 2021-07-04

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

From: Peter Zijlstra <peterz@infradead.org>
Date: 2021-06-02 16:39:06
Also in: lkml

On Wed, Jun 02, 2021 at 05:43:13PM +0200, Mauro Carvalho Chehab wrote:
quoted hunk ↗ jump to hunk
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help