docs: ReSTify table of contents in core.rst
authorJosh Holland <anowlcalledjosh@gmail.com>
Wed, 23 Aug 2017 20:42:32 +0000 (21:42 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 30 Aug 2017 21:27:58 +0000 (15:27 -0600)
Sphinx will now generate the table of contents automatically, which
avoids having the ToC getting out of sync with the rest of the document.

Signed-off-by: Josh Holland <anowlcalledjosh@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/security/keys/core.rst

index 312f981fa4a081eeff3aade621f5e433e959bd23..1266eeae45f69caeed72902d2507c3131de9a08f 100644 (file)
@@ -16,17 +16,7 @@ The key service can be configured on by enabling:
 
 This document has the following sections:
 
-       - Key overview
-       - Key service overview
-       - Key access permissions
-       - SELinux support
-       - New procfs files
-       - Userspace system call interface
-       - Kernel services
-       - Notes on accessing payload contents
-       - Defining a key type
-       - Request-key callback service
-       - Garbage collection
+.. contents:: :local:
 
 
 Key Overview