* [PATCH] docs: automarkup.py: add skipidentifiers
@ 2026-08-24 7:03 Manuel Ebner
2026-08-24 17:13 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Ebner @ 2026-08-24 7:03 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Jonathan Corbet, Shuah Khan, Randy Dunlap
Cc: Manuel Ebner, linux-doc, linux-kernel
Add skipidentifiers to reduce wrongfully high-lighted (bold) words.
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
Pre-patch discussion:
https://lore.kernel.org/all/bba57d51c72d9387ccef2b5979fa618e980c3ebf.camel@mailbox.org/
---
Documentation/sphinx/automarkup.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/sphinx/automarkup.py b/Documentation/sphinx/automarkup.py
index c2227ab0a..8a6174950 100644
--- a/Documentation/sphinx/automarkup.py
+++ b/Documentation/sphinx/automarkup.py
@@ -51,7 +51,10 @@ Skipnames = [ 'for', 'if', 'register', 'sizeof', 'struct', 'unsigned' ]
# when following struct/union/enum/typedef keywords.
# Example: "a simple struct that" in workqueue.rst should not be marked as code.
#
-Skipidentifiers = [ 'that', 'which', 'where', 'whose' ]
+Skipidentifiers = [ 'and', 'are', 'as', 'containing', 'in', 'including',
+ 'is', 'name', 'needs', 'of', 'or', 'pages',
+ 'passed', 'randomization', 'request', 'that',
+ 'to', 'where', 'which', 'whose', 'will' ]
#
# Many places in the docs refer to common system calls. It is
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: automarkup.py: add skipidentifiers
2026-08-24 7:03 [PATCH] docs: automarkup.py: add skipidentifiers Manuel Ebner
@ 2026-08-24 17:13 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-08-24 17:13 UTC (permalink / raw)
To: Manuel Ebner, Mauro Carvalho Chehab, Jonathan Corbet, Shuah Khan
Cc: linux-doc, linux-kernel
Hi,
On 8/24/26 12:03 AM, Manuel Ebner wrote:
> Add skipidentifiers to reduce wrongfully high-lighted (bold) words.
>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
whac-a-mole alert:
"struct request" here is no longer highlighted:
Documentation/block/blk-mq.rst:will then build a new structure from it, the struct request that will
For most of the other words here, I'm OK with this patch.
> ---
> Pre-patch discussion:
> https://lore.kernel.org/all/bba57d51c72d9387ccef2b5979fa618e980c3ebf.camel@mailbox.org/
> ---
> Documentation/sphinx/automarkup.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/sphinx/automarkup.py b/Documentation/sphinx/automarkup.py
> index c2227ab0a..8a6174950 100644
> --- a/Documentation/sphinx/automarkup.py
> +++ b/Documentation/sphinx/automarkup.py
> @@ -51,7 +51,10 @@ Skipnames = [ 'for', 'if', 'register', 'sizeof', 'struct', 'unsigned' ]
> # when following struct/union/enum/typedef keywords.
> # Example: "a simple struct that" in workqueue.rst should not be marked as code.
> #
> -Skipidentifiers = [ 'that', 'which', 'where', 'whose' ]
> +Skipidentifiers = [ 'and', 'are', 'as', 'containing', 'in', 'including',
> + 'is', 'name', 'needs', 'of', 'or', 'pages',
> + 'passed', 'randomization', 'request', 'that',
> + 'to', 'where', 'which', 'whose', 'will' ]
>
> #
> # Many places in the docs refer to common system calls. It is
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-24 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24 7:03 [PATCH] docs: automarkup.py: add skipidentifiers Manuel Ebner
2026-08-24 17:13 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox