Linux-kselftest Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v1] Documentation: kunit: fixed sphinx error in code block
@ 2020-02-01  0:01 Brendan Higgins
  2020-02-01 22:18 ` Alan Maguire
  0 siblings, 1 reply; 2+ messages in thread
From: Brendan Higgins @ 2020-02-01  0:01 UTC (permalink / raw)
  To: shuah
  Cc: kunit-dev, linux-kernel, linux-kselftest, linux-doc, corbet,
	davidgow, 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

Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
---
 Documentation/dev-tools/kunit/usage.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/dev-tools/kunit/usage.rst b/Documentation/dev-tools/kunit/usage.rst
index 7cd56a1993b14..607758a66a99c 100644
--- a/Documentation/dev-tools/kunit/usage.rst
+++ b/Documentation/dev-tools/kunit/usage.rst
@@ -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.
-- 
2.25.0.341.g760bfbb309-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] Documentation: kunit: fixed sphinx error in code block
  2020-02-01  0:01 [PATCH v1] Documentation: kunit: fixed sphinx error in code block Brendan Higgins
@ 2020-02-01 22:18 ` Alan Maguire
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Maguire @ 2020-02-01 22:18 UTC (permalink / raw)
  To: Brendan Higgins
  Cc: shuah, kunit-dev, linux-kernel, linux-kselftest, linux-doc,
	corbet, davidgow

On Fri, 31 Jan 2020, Brendan Higgins wrote:

> 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
> 
> Signed-off-by: Brendan Higgins <brendanhiggins@google.com>

Thanks for fixing!

Reviewed-by: Alan Maguire <alan.maguire@oracle.com>

> ---
>  Documentation/dev-tools/kunit/usage.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/dev-tools/kunit/usage.rst b/Documentation/dev-tools/kunit/usage.rst
> index 7cd56a1993b14..607758a66a99c 100644
> --- a/Documentation/dev-tools/kunit/usage.rst
> +++ b/Documentation/dev-tools/kunit/usage.rst
> @@ -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.
> -- 
> 2.25.0.341.g760bfbb309-goog
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-01  0:01 [PATCH v1] Documentation: kunit: fixed sphinx error in code block Brendan Higgins
2020-02-01 22:18 ` Alan Maguire

Linux-kselftest Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-kselftest/0 linux-kselftest/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-kselftest linux-kselftest/ https://lore.kernel.org/linux-kselftest \
		linux-kselftest@vger.kernel.org
	public-inbox-index linux-kselftest

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kselftest


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git