Skip to content

Commit

Permalink
Documentation/dev-tools: use code-block with proper language
Browse files Browse the repository at this point in the history
Now that we don't have automatic syntax highlighting, use the code-block
directive with the explicitly selected language, where appropriate.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
  • Loading branch information
Jani Nikula committed Nov 3, 2016
1 parent 07a37ba commit 57131dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Documentation/dev-tools/gcov.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ Appendix A: gather_on_build.sh
------------------------------

Sample script to gather coverage meta files on the build machine
(see 6a)::
(see 6a):

.. code-block:: sh
#!/bin/bash
Expand Down Expand Up @@ -232,7 +234,9 @@ Appendix B: gather_on_test.sh
-----------------------------

Sample script to gather coverage data files on the test machine
(see 6b)::
(see 6b):

.. code-block:: sh
#!/bin/bash -e
Expand Down
4 changes: 3 additions & 1 deletion Documentation/dev-tools/kcov.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ Profiling data will only become accessible once debugfs has been mounted::

mount -t debugfs none /sys/kernel/debug

The following program demonstrates kcov usage from within a test program::
The following program demonstrates kcov usage from within a test program:

.. code-block:: c
#include <stdio.h>
#include <stddef.h>
Expand Down

0 comments on commit 57131dd

Please sign in to comment.