summaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-documentation.rst
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2016-08-12 23:12:36 +0200
committerJonathan Corbet <corbet@lwn.net>2016-08-12 23:12:36 +0200
commitc2d5be14cb39da34b076b461d8aa2344611364c6 (patch)
tree072c1f6828a77485cdb3dc4d6b5658b4789833d8 /Documentation/kernel-documentation.rst
parentdocs: Set the Sphinx default highlight language to "guess" (diff)
downloadlinux-c2d5be14cb39da34b076b461d8aa2344611364c6.tar.xz
linux-c2d5be14cb39da34b076b461d8aa2344611364c6.zip
docs: kernel-documentation: remove some highlight directives
With the conf.py change, we don't need them to avoid warnings anymore. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/kernel-documentation.rst')
-rw-r--r--Documentation/kernel-documentation.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/kernel-documentation.rst b/Documentation/kernel-documentation.rst
index c4eb5049da39..391decc66a18 100644
--- a/Documentation/kernel-documentation.rst
+++ b/Documentation/kernel-documentation.rst
@@ -366,8 +366,6 @@ Domain`_ references.
Cross-referencing from reStructuredText
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.. highlight:: none
-
To cross-reference the functions and types defined in the kernel-doc comments
from reStructuredText documents, please use the `Sphinx C Domain`_
references. For example::
@@ -390,8 +388,6 @@ For further details, please refer to the `Sphinx C Domain`_ documentation.
Function documentation
----------------------
-.. highlight:: c
-
The general format of a function and function-like macro kernel-doc comment is::
/**
@@ -572,8 +568,6 @@ DocBook XML [DEPRECATED]
Converting DocBook to Sphinx
----------------------------
-.. highlight:: none
-
Over time, we expect all of the documents under ``Documentation/DocBook`` to be
converted to Sphinx and reStructuredText. For most DocBook XML documents, a good
enough solution is to use the simple ``Documentation/sphinx/tmplcvt`` script,