Skip to contentSkip to conversation

Documentation: kunit: fixed sphinx error in code block

PATCH In review Brendan Higgins 2 participants 2 messages Feb 1, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: kunit: fixed sphinx error in code block

Fix a missing newline in a code block that was causing a warning:

Documentation/dev-tools/kunit/usage.rst:553: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 3 supplied.

.. code-block:: bash
modprobe example-test

---
 Documentation/dev-tools/kunit/usage.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/dev-tools/kunit/usage.rst +1 -0
index 7cd56a1993b14..607758a66a99c 100644
@@ -551,6 +551,7 @@ options to your ``.config``:
 Once the kernel is built and installed, a simple
 
 .. code-block:: bash
+
 	modprobe example-test
 
 ...will run the tests.
Signature · 1 line
2.25.0.341.g760bfbb309-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Brendan Higgins

Fix a missing newline in a code block that was causing a warning:

Documentation/dev-tools/kunit/usage.rst:553: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 3 supplied.

.. code-block:: bash
modprobe example-test

Thanks for fixing!

Quoted 20 lines
---
 Documentation/dev-tools/kunit/usage.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/dev-tools/kunit/usage.rst +1 -0
index 7cd56a1993b14..607758a66a99c 100644
@@ -551,6 +551,7 @@ options to your ``.config``:
 Once the kernel is built and installed, a simple
 
 .. code-block:: bash
+
 	modprobe example-test
 
 ...will run the tests.
Signature · 1 line
2.25.0.341.g760bfbb309-goog