Skip to contentSkip to conversation

docs: split subtitle of Submitting patches

PATCH In review Costa Shulyupin 2 participants 4 messages Apr 25, 2023 – May 30, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: split subtitle of Submitting patches

Motivation:

The original long page title in the left Content pane spans three lines:

Submitting patches: the essential
guide to getting your code into
the kernel

Issues:
- It is not readable.
- It further inflates already overpopulated Contents pane.

The solution:
- Split the long title to title and subtitle.
- Vertical bar '|' in Sphinx-doc introduces empty line to make the subtitle closer to the title than to the following text.

---
 Documentation/process/submitting-patches.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/process/submitting-patches.rst +5 -2
index 7a5619fecb38..051eba1bbc7f 100644
@@ -1,7 +1,10 @@
 .. _submittingpatches:
 
-Submitting patches: the essential guide to getting your code into the kernel
-============================================================================
+Submitting patches
+==================
+The essential guide to getting your code into the kernel
+
+|
 
 For a person or company who wishes to submit a change to the Linux
 kernel, the process can sometimes be daunting if you're not familiar
Signature · 1 line
2.40.0
#1 lore raw

Kind reminder

Quoted 44 lines · Costa Shulyupin

Motivation:

The original long page title in the left Content pane spans three lines:

Submitting patches: the essential
guide to getting your code into
the kernel

Issues:
- It is not readable.
- It further inflates already overpopulated Contents pane.

The solution:
- Split the long title to title and subtitle.
- Vertical bar '|' in Sphinx-doc introduces empty line to make the subtitle closer to the title than to the following text.

---
 Documentation/process/submitting-patches.rst | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Documentation/process/submitting-patches.rst +5 -3
index 7a5619fecb38..051eba1bbc7f 100644
@@ -1,7 +1,10 @@
 .. _submittingpatches:
 
-Submitting patches: the essential guide to getting your code into the kernel
-============================================================================
+Submitting patches
+==================
+The essential guide to getting your code into the kernel
+
+|
 
 For a person or company who wishes to submit a change to the Linux
 kernel, the process can sometimes be daunting if you're not familiar
--

2.40.0

#2 lore raw
In reply to Costa Shulyupin
Quoted 8 lines · Costa Shulyupin

Motivation:

The original long page title in the left Content pane spans three lines:

Submitting patches: the essential
guide to getting your code into
the kernel

I think it's OK to have that, if the title can't be further condensed.

Quoted 4 lines

Issues:
- It is not readable.
- It further inflates already overpopulated Contents pane.

table of contents?

Quoted 5 lines

The solution:
- Split the long title to title and subtitle.
- Vertical bar '|' in Sphinx-doc introduces empty line to make the subtitle closer to the title than to the following text.

Nope.

The title (as a whole) is already descriptive enough for describing the text.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#3 lore raw
Quoted 12 lines · Bagas Sanjaya
Quoted 8 lines · Costa Shulyupin

Motivation:

The original long page title in the left Content pane spans three lines:

Submitting patches: the essential
guide to getting your code into
the kernel

I think it's OK to have that, if the title can't be further condensed.

Oops, I mean it's perfectly OK to have long title written as-is if it can't be further condensed to convey the doc theme.

Signature · 1 line
An old man doll... just what I always wanted! - Clara