summaryrefslogtreecommitdiffstats
path: root/Documentation/doc-guide
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2019-06-11 16:03:16 -0400
committerJonathan Corbet <corbet@lwn.net>2019-06-14 16:43:02 -0400
commit83e8b971f81cebe4f9a84cc76d328ac955b62a7a (patch)
tree38acba95942c1c931f5aabfd6c0e102077555863 /Documentation/doc-guide
parent407b584d155be67a9311a62da8d7874f62b987ac (diff)
sphinx.rst: Add note about code snippets embedded in the text
There's a paragraph that explains how to create fixed width text block, but it doesn't explains how to create fixed width text inline, although this feature is really used through the documentation. Fix that adding a quick note about it. Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/doc-guide')
-rw-r--r--Documentation/doc-guide/sphinx.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst
index 4ba081f43e98..e60a56640c63 100644
--- a/Documentation/doc-guide/sphinx.rst
+++ b/Documentation/doc-guide/sphinx.rst
@@ -217,7 +217,7 @@ Here are some specific guidelines for the kernel documentation:
217 examples, etc.), use ``::`` for anything that doesn't really benefit 217 examples, etc.), use ``::`` for anything that doesn't really benefit
218 from syntax highlighting, especially short snippets. Use 218 from syntax highlighting, especially short snippets. Use
219 ``.. code-block:: <language>`` for longer code blocks that benefit 219 ``.. code-block:: <language>`` for longer code blocks that benefit
220 from highlighting. 220 from highlighting. For a short snippet of code embedded in the text, use \`\`.
221 221
222 222
223the C domain 223the C domain