Skip to contentSkip to conversation

docs: Fix backticks in README instructions

PATCH In review carlodelos90 3 participants 3 messages Jan 21, 2025 – Jan 22, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Fix backticks in README instructions

The commands 'make pdfdocs' and make 'htmldocs' were formatted with backticks. which caused confusion in some contexts, like GitHub. However, using tripple backticks is not universally compatible.

This patch replaces backticks with normal quotes to ensure clarity and compatibility across all rendering contexts.

---
 README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
README +2 -2
index fd903645e6de..c1d280c622e9 100644
@@ -5,8 +5,8 @@ There are several guides for kernel developers and users. These guides can
 be rendered in a number of formats, like HTML and PDF. Please read
 Documentation/admin-guide/README.rst first.
 
-In order to build the documentation, use ``make htmldocs`` or
-``make pdfdocs``.  The formatted documentation can also be read online at:
+In order to build the documentation, use "make htmldocs" or
+"make pdfdocs".  The formatted documentation can also be read online at:
 
     https://www.kernel.org/doc/html/latest/
 
Signature · 1 line
2.39.5 (Apple Git-154)
#1 lore raw

[+CC: Jon]
Hi,

Not a comment on the patch contents, just nitpicking.

Quoted 5 lines · carlodelos90 wrote:

The commands 'make pdfdocs' and make 'htmldocs' were formatted with backticks. which caused confusion in some contexts, like GitHub. However, using tripple backticks is not universally compatible.

This patch replaces backticks with normal quotes to ensure clarity and compatibility across all rendering contexts.

I'd suggest you to run scripts/checkpatch.pl on your patch.
It is good in catching issues in patches especially from new contributors.

Besides that, you have failed to denote a patch version.

I'd say [PATCH v2] in the subject of this patch. Next one will be v3.

As we are in the middle of the merge window, I'd suggest you to take some time and skim through documents under Documentation/process/, especially submitting-patches.rst and submit-checklist.rst among others, before submitting a v3.

Questions are always welcome!

Thanks, Akira

maintainer
#2 lore raw
In reply to carlodelos90

We're getting there. I'm going to be extra-picky here to point out a few things that are important for working with the kernel community, though.

As Akira suggested, please use checkpatch on your patches. Also, you should always Cc people who have commented on previous versions.

Quoted 3 lines · carlodelos90 <[email protected]> writes:

The commands 'make pdfdocs' and make 'htmldocs' were formatted with backticks. which caused confusion in some contexts, like GitHub. However, using tripple backticks is not universally compatible.

This patch replaces backticks with normal quotes to ensure clarity and compatibility across all rendering contexts.

Please adhere to the 80-column limit for changelog messages.

Some maintainers will get really annoyed at the "This patch" wording; changelogs should describe changes in an imperative tense.

Quoted 1 line

It won't really matter for a non-copyrightable change like this, but we do want to see a full name in the signoff.

Quoted 9 lines
---
 README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
README +0 -0
index fd903645e6de..c1d280c622e9 100644

README There are several guides for kernel developers and users. These guides can · line 11

Quoted 9 lines
README +2 -2
@@ -5,8 +5,8 @@ There are several guides for kernel developers and users. These guides can
 be rendered in a number of formats, like HTML and PDF. Please read
 Documentation/admin-guide/README.rst first.
 
-In order to build the documentation, use ``make htmldocs`` or
-``make pdfdocs``.  The formatted documentation can also be read online at:
+In order to build the documentation, use "make htmldocs" or
+"make pdfdocs".  The formatted documentation can also be read online at:
 
     https://www.kernel.org/doc/html/latest/

The change itself is good.

Thanks,

jon