From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 3/3] Documentation: variables: fix error in "code-block" directive
Date: Fri, 12 Aug 2016 17:32:04 +0300 [thread overview]
Message-ID: <1471012324-3881-4-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1471012324-3881-1-git-send-email-antonynpavlov@gmail.com>
The patch fixes this sphinx error:
barebox/Documentation/user/variables.rst:79: ERROR: Error in "code-block" directive:
maximum 1 argument(s) allowed, 15 supplied.
.. code-block:: sh
barebox@Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root)
barebox@Phytec phyCARD-i.MX27:/ devinfo nand0
Parameters:
[...]
partitions: 4M(barebox),1M(barebox-environment),8M(kernel),1011M(root)
[...]
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
Documentation/user/variables.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/user/variables.rst b/Documentation/user/variables.rst
index 89aadf5..e0a7941 100644
--- a/Documentation/user/variables.rst
+++ b/Documentation/user/variables.rst
@@ -77,6 +77,7 @@ to the corresponding <devname>.<paramname> variable.
This example changes the partitioning of the nand0 device:
.. code-block:: sh
+
barebox@Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root)
barebox@Phytec phyCARD-i.MX27:/ devinfo nand0
Parameters:
--
2.8.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2016-08-12 14:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-12 14:32 [PATCH 0/3] Documentation: fix sphinx warnings Antony Pavlov
2016-08-12 14:32 ` [PATCH 1/3] Documentation: tplink-mr3020: fix 'Could not lex literal_block as "c"' warning Antony Pavlov
2016-08-12 14:32 ` [PATCH 2/3] Documentation: barebox: " Antony Pavlov
2016-08-12 14:32 ` Antony Pavlov [this message]
2016-08-15 9:17 ` [PATCH 0/3] Documentation: fix sphinx warnings Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471012324-3881-4-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox