Skip to contentSkip to conversation

docs: fix missing newlines in codeblocks

PATCH Applied Lucas Stach 2 participants 3 messages Jan 18, 2015 – Jan 19, 2015 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 docs: fix missing newlines in codeblocks

Those cause a warning while generating the docs
as well as misrendering of the generated docs.

---
 Documentation/boards/garz-fricke.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/boards/garz-fricke.rst +2 -0
index 33d0dd3e3920..27acf5ad3c78 100644
@@ -16,6 +16,7 @@ network or any other medium the Santaro supports. You can backup the original bo
 with:
 
 .. code-block:: sh
+
   cat /dev/mmcblk0boot0 > /mnt/mmcblk0boot0.backup
   cat /dev/mmcblk0boot1 > /mnt/mmcblk0boot1.backup
 
@@ -25,6 +26,7 @@ device.
 To install barebox on the board do:
 
 .. code-block:: sh
+
   echo 0 > /sys/block/mmcblk0boot0/force_ro
   cat barebox-guf-santaro.img > /dev/mmcblk0boot0
 
Signature · 7 lines
2.1.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 docs: fix broken reference

---
 Documentation/user/variables.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/user/variables.rst +2 -2
index 974ab8822195..ea99eb61137e 100644
@@ -43,8 +43,8 @@ behaviour persistently over reboots.
 
 nv variables can be created or removed with the :ref:`command_nv`
 command. The nv variables are made persistent using the environment
-facilities of barebox, so a :ref:`saveenv` must be issued to store the actual
-values.
+facilities of barebox, so a :ref:`command_saveenv` must be issued to store the
+actual values.
 
 examples:
 
Signature · 7 lines
2.1.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Lucas Stach
Quoted 7 lines · Lucas Stach

Those cause a warning while generating the docs
as well as misrendering of the generated docs.

---
 Documentation/boards/garz-fricke.rst | 2 ++
 1 file changed, 2 insertions(+)

Applied both, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox