[libvirt] [PATCH 06/24] drvbhyve.html.in: Kill useless spaces in <pre/>

Michal Privoznik mprivozn at redhat.com
Mon Nov 14 09:33:52 UTC 2016


The <pre/> section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such <pre/> because
the content might not fix into it.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 docs/drvbhyve.html.in | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in
index 485b051..9b7872b 100644
--- a/docs/drvbhyve.html.in
+++ b/docs/drvbhyve.html.in
@@ -154,13 +154,13 @@ the following to the domain XML (<span class="since">Since 1.2.4</span>):
 </p>
 
 <pre>
-  ...
-  <devices>
-    <serial type="nmdm">
-      <source master="/dev/nmdm0A" slave="/dev/nmdm0B"/>
-    </serial>
-  </devices>
-  ...</pre>
+...
+<devices>
+  <serial type="nmdm">
+    <source master="/dev/nmdm0A" slave="/dev/nmdm0B"/>
+  </serial>
+</devices>
+...</pre>
 
 
 <p>Make sure to load the <code>nmdm</code> kernel module if you plan to use that.</p>
@@ -219,12 +219,12 @@ tweak them.</p>
 An example of domain XML device entry for that will look like:</p>
 
 <pre>
-  ...
-  <disk type='volume' device='disk'>
-    <source pool='zfspool' volume='vol1'/>
-    <target dev='vdb' bus='virtio'/>
-  </disk>
-  ...</pre>
+...
+<disk type='volume' device='disk'>
+  <source pool='zfspool' volume='vol1'/>
+  <target dev='vdb' bus='virtio'/>
+</disk>
+...</pre>
 
 <p>Please refer to the <a href="storage.html">Storage documentation</a> for more details on storage
 management.</p>
@@ -241,10 +241,10 @@ the first disk in the domain (either <code>cdrom</code>- or
 attempt to boot from the first partition in the disk image.</p>
 
 <pre>
-  ...
-    <bootloader>/usr/local/sbin/grub-bhyve</bootloader>
-    <bootloader_args>...</bootloader_args>
-  ...
+...
+<bootloader>/usr/local/sbin/grub-bhyve</bootloader>
+<bootloader_args>...</bootloader_args>
+...
 </pre>
 
 <p>Caveat: <code>bootloader_args</code> does not support any quoting.
-- 
2.8.4




More information about the libvir-list mailing list