Commit 5d47c31b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

kernel-doc: describe the ``literal`` syntax

changeset b97f193a ("scripts/kernel-doc: fix parser
for apostrophes") added support for ``literal`` inside
kernel-doc, in order to allow using the "%" symbol inside
a literal block, as this is used at printk() description.

Document it.

Fixes: b97f193a

 ("scripts/kernel-doc: fix parser for apostrophes")
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent fd74809e
......@@ -149,6 +149,16 @@ Domain`_ references.
Name of a constant. (No cross-referencing, just formatting.)
A literal block that should be handled as-is. The output will use a
``monospaced font``.
Useful if you need to use special characters that would otherwise have some
meaning either by kernel-doc script of by reStructuredText.
This is particularly useful if you need to use things like ``%ph`` inside
a function description.
Name of an environment variable. (No cross-referencing, just formatting.)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment