docs: Standardise capitalisation of section headers in core.rst
Subsystems (2)
PATCH 1/2 docs: Standardise capitalisation of section headers in core.rst
The table of contents in security/keys/core.rst had different capitalisation to the section headers, which broke case-sensitive search.
--- Documentation/security/keys/core.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)
Documentation/security/keys/core.rst +11 -11
@@ -16,17 +16,17 @@ 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 + - 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 Key Overview
Signature · 1 line
2.14.1
Quoted 29 lines · Josh Holland
The table of contents in
security/keys/core.rsthad different capitalisation to the section headers, which broke case-sensitive search.Signed-off-by Josh Holland <[email protected]>--- Documentation/security/keys/core.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)Documentation/security/keys/core.rst +1
-11@@ -16,17 +16,17 @@ 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 + - Key Overview
Documentation/security/keys/core.rst The key service can be configured on by enabling: · line 29
Quoted 10 lines
Documentation/security/keys/core.rst +10
-0+ - 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
If you want to retain the contents in .rst for the benefit of reading this as plain text, this is fine.
However, if you want to sphinxify things a little, you could make the resulting html a little bit nicer with automatic links, and document maintenance a little bit easier, by replacing the hand written contents with:
.. contents::
:local:
The maintainer's call, obviously.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
Jonathan Corbet
maintainerQuoted 7 lines · On Mon, 21 Aug 2017 12:15:26 +0300 Jani Nikula <[email protected]>…
However, if you want to sphinxify things a little, you could make the resulting html a little bit nicer with automatic links, and document maintenance a little bit easier, by replacing the hand written contents with:
.. contents::
:local:
I think this is what we should do. I don't think that manually listing the section heads buys a whole lot for readers of the docs, and experience says they won't be kept in sync with the rest of the document. I'd much rather see a patch taking them out and letting Sphinx do the work.
Part 2 looks fine, though, I'll apply that shortly.
Thanks,
jon
Quoted 8 lines · Jonathan Corbet
Quoted 5 lines · On Mon, 21 Aug 2017 12:15:26 +0300 Jani Nikula <[email protected]>…
However, if you want to sphinxify things a little, you could make the resulting html a little bit nicer with automatic links, and document maintenance a little bit easier, by replacing the hand written contents with:
Quoted 8 lines
Quoted 2 lines
.. contents::
:local:I think this is what we should do. I don't think that manually listing the section heads buys a whole lot for readers of the docs, and experience says they won't be kept in sync with the rest of the document. I'd much rather see a patch taking them out and letting Sphinx do the work.
Ok, I'll send a patch in.
Quoted 1 line
Part 2 looks fine, though, I'll apply that shortly.
Great!
Thanks,
Josh