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
Reply to
Mauro Carvalho Chehab, 2021-06-02
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.
Thread (36 messages) 36 messages, 12 authors, last reply 2021-07-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help