mirror-linux/Documentation/sphinx
wheatfox 6b8edfcd66 docs: automarkup.py: Skip common English words as C identifiers
The automarkup extension incorrectly recognizes common English words
as C identifiers when they follow struct/union/enum/typedef keywords,
causing normal text like "... (a simple) struct that" (in `workqueue.rst`)
to be rendered as code blocks.

This patch adds Skipidentifiers list to filter out these words.

Signed-off-by: Yulong Han <wheatfox17@icloud.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260125124450.2005006-1-wheatfox17@icloud.com>
2026-01-27 10:35:57 -07:00
..
templates docs: sphinx: remove SPDX/copyright comments from HTML output 2025-09-03 15:50:51 -06:00
automarkup.py docs: automarkup.py: Skip common English words as C identifiers 2026-01-27 10:35:57 -07:00
kernel_abi.py docs: bring some order to our Python module hierarchy 2025-11-18 09:22:40 -07:00
kernel_feat.py Documentation/sphinx/kernel_feat.py: use class directly 2025-11-21 10:32:30 -07:00
kernel_include.py docs: bring some order to our Python module hierarchy 2025-11-18 09:22:40 -07:00
kerneldoc-preamble.sty scripts: sphinx-pre-install: move it to tools/docs 2025-09-18 11:17:18 -06:00
kerneldoc.py docs: conf.py: get rid of the now unused kerneldoc_bin env var 2026-01-20 15:31:06 -07:00
kfigure.py docs: sphinx: add missing SPDX tags 2025-06-25 12:39:17 -06:00
maintainers_include.py docs: kdoc: handle the obsolescensce of docutils.ErrorString() 2025-09-15 17:24:06 -06:00
min_requirements.txt docs: sphinx: add missing SPDX tags 2025-06-25 12:39:17 -06:00
parser_yaml.py sphinx: parser_yaml.py: fix line numbers information 2025-08-12 07:47:31 +02:00
requirements.txt docs: sphinx: add missing SPDX tags 2025-06-25 12:39:17 -06:00
rstFlatTable.py docs: sphinx: add missing SPDX tags 2025-06-25 12:39:17 -06:00
translations.py docs: translations: use attribute to store current language 2024-02-21 13:41:37 -07:00