[PATCH 3/3] Documentation: variables: fix error in "code-block" directive

Antony Pavlov antonynpavlov at gmail.com
Fri Aug 12 07:32:04 PDT 2016


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 at Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root)
      barebox at Phytec phyCARD-i.MX27:/ devinfo nand0
        Parameters:
        [...]
        partitions: 4M(barebox),1M(barebox-environment),8M(kernel),1011M(root)
        [...]

Signed-off-by: Antony Pavlov <antonynpavlov at 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 at Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root)
   barebox at Phytec phyCARD-i.MX27:/ devinfo nand0
     Parameters:
-- 
2.8.1




More information about the barebox mailing list