doc: fix syntax in pmdinfogen guide
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 Jul 2016 09:52:40 +0000 (11:52 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 8 Jul 2016 15:48:15 +0000 (17:48 +0200)
Sphynx reports this error:

doc/guides/prog_guide/dev_kit_build_system.rst:337: WARNING:
Pygments lexer name u'C' is not known

Fixes: 737ddf3fb ("doc: add prog guide section documenting pmdinfo script")

Reported-by: Bernard Iremonger <bernard.iremonger@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
doc/guides/prog_guide/dev_kit_build_system.rst

index 1dc1388..18a3010 100644 (file)
@@ -319,8 +319,7 @@ instance the macro:
 
 .. code-block:: c
 
-    PMD_REGISTER_DRIVER(drv, name)
-
+   PMD_REGISTER_DRIVER(drv, name)
 
 Creates the following symbol:
 
@@ -334,7 +333,7 @@ can be exported from the object file and used to produce a hardware support
 description, that pmdinfogen then encodes into a json formatted string in the
 following format:
 
-.. code-block:: C
+.. code-block:: c
 
    static char <name_pmd_string>="PMD_INFO_STRING=\"{'name' : '<name>', ...}\"";