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@xxxxxxxxxx> --- docs/storage.html.in | 296 +++++++++++++++++++++++++-------------------------- 1 file changed, 148 insertions(+), 148 deletions(-) diff --git a/docs/storage.html.in b/docs/storage.html.in index f1960f9..2e5b65e 100644 --- a/docs/storage.html.in +++ b/docs/storage.html.in @@ -135,12 +135,12 @@ <h3>Example pool input definition</h3> <pre> - <pool type="dir"> - <name>virtimages</name> - <target> - <path>/var/lib/virt/images</path> - </target> - </pool></pre> +<pool type="dir"> + <name>virtimages</name> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -188,15 +188,15 @@ <h3>Example pool input</h3> <pre> - <pool type="fs"> - <name>virtimages</name> - <source> - <device path="/dev/VolGroup00/VirtImages"/> - </source> - <target> - <path>/var/lib/virt/images</path> - </target> - </pool></pre> +<pool type="fs"> + <name>virtimages</name> + <source> + <device path="/dev/VolGroup00/VirtImages"/> + </source> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -261,17 +261,17 @@ <h3>Example pool input</h3> <pre> - <pool type="netfs"> - <name>virtimages</name> - <source> - <host name="nfs.example.com"/> - <dir path="/var/lib/virt/images"/> - <format type='nfs'/> - </source> - <target> - <path>/var/lib/virt/images</path> - </target> - </pool></pre> +<pool type="netfs"> + <name>virtimages</name> + <source> + <host name="nfs.example.com"/> + <dir path="/var/lib/virt/images"/> + <format type='nfs'/> + </source> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -315,17 +315,17 @@ <h3>Example pool input</h3> <pre> - <pool type="logical"> - <name>HostVG</name> - <source> - <device path="/dev/sda1"/> - <device path="/dev/sdb1"/> - <device path="/dev/sdc1"/> - </source> - <target> - <path>/dev/HostVG</path> - </target> - </pool></pre> +<pool type="logical"> + <name>HostVG</name> + <source> + <device path="/dev/sda1"/> + <device path="/dev/sdb1"/> + <device path="/dev/sdc1"/> + </source> + <target> + <path>/dev/HostVG</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -352,15 +352,15 @@ <h3>Example pool input</h3> <pre> - <pool type="disk"> - <name>sda</name> - <source> - <device path='/dev/sda'/> - </source> - <target> - <path>/dev</path> - </target> - </pool></pre> +<pool type="disk"> + <name>sda</name> + <source> + <device path='/dev/sda'/> + </source> + <target> + <path>/dev</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -449,16 +449,16 @@ <h3>Example pool input</h3> <pre> - <pool type="iscsi"> - <name>virtimages</name> - <source> - <host name="iscsi.example.com"/> - <device path="iqn.2013-06.com.example:iscsi-pool"/> - </source> - <target> - <path>/dev/disk/by-path</path> - </target> - </pool></pre> +<pool type="iscsi"> + <name>virtimages</name> + <source> + <host name="iscsi.example.com"/> + <device path="iqn.2013-06.com.example:iscsi-pool"/> + </source> + <target> + <path>/dev/disk/by-path</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -482,15 +482,15 @@ <h3>Example pool input</h3> <pre> - <pool type="scsi"> - <name>virtimages</name> - <source> - <adapter name="host0"/> - </source> - <target> - <path>/dev/disk/by-path</path> - </target> - </pool></pre> +<pool type="scsi"> + <name>virtimages</name> + <source> + <adapter name="host0"/> + </source> + <target> + <path>/dev/disk/by-path</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -518,12 +518,12 @@ <h3>Example pool input</h3> <pre> - <pool type="mpath"> - <name>virtimages</name> - <target> - <path>/dev/mapper</path> - </target> - </pool></pre> +<pool type="mpath"> + <name>virtimages</name> + <target> + <path>/dev/mapper</path> + </target> +</pool></pre> <h3>Valid pool format types</h3> <p> @@ -558,38 +558,38 @@ <h3>Example pool input</h3> <pre> - <pool type="rbd"> - <name>myrbdpool</name> - <source> - <name>rbdpool</name> - <host name='1.2.3.4'/> - <host name='my.ceph.monitor'/> - <host name='third.ceph.monitor' port='6789'/> - <auth username='admin' type='ceph'> - <secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/> - </auth> - </source> - </pool></pre> +<pool type="rbd"> + <name>myrbdpool</name> + <source> + <name>rbdpool</name> + <host name='1.2.3.4'/> + <host name='my.ceph.monitor'/> + <host name='third.ceph.monitor' port='6789'/> + <auth username='admin' type='ceph'> + <secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/> + </auth> + </source> +</pool></pre> <h3>Example volume output</h3> <pre> - <volume> - <name>myvol</name> - <key>rbd/myvol</key> - <source> - </source> - <capacity unit='bytes'>53687091200</capacity> - <allocation unit='bytes'>53687091200</allocation> - <target> - <path>rbd:rbd/myvol</path> - <format type='unknown'/> - <permissions> - <mode>00</mode> - <owner>0</owner> - <group>0</group> - </permissions> - </target> - </volume></pre> +<volume> + <name>myvol</name> + <key>rbd/myvol</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> + <target> + <path>rbd:rbd/myvol</path> + <format type='unknown'/> + <permissions> + <mode>00</mode> + <owner>0</owner> + <group>0</group> + </permissions> + </target> +</volume></pre> <h3>Example disk attachment</h3> <p>RBD images can be attached to Qemu guests when Qemu is built @@ -622,33 +622,33 @@ <h3>Example pool input</h3> <pre> - <pool type="sheepdog"> - <name>mysheeppool</name> - <source> - <name>mysheeppool</name> - <host name='localhost' port='7000'/> - </source> - </pool></pre> +<pool type="sheepdog"> + <name>mysheeppool</name> + <source> + <name>mysheeppool</name> + <host name='localhost' port='7000'/> + </source> +</pool></pre> <h3>Example volume output</h3> <pre> - <volume> - <name>myvol</name> - <key>sheep/myvol</key> - <source> - </source> - <capacity unit='bytes'>53687091200</capacity> - <allocation unit='bytes'>53687091200</allocation> - <target> - <path>sheepdog:myvol</path> - <format type='unknown'/> - <permissions> - <mode>00</mode> - <owner>0</owner> - <group>0</group> - </permissions> - </target> - </volume></pre> +<volume> + <name>myvol</name> + <key>sheep/myvol</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> + <target> + <path>sheepdog:myvol</path> + <format type='unknown'/> + <permissions> + <mode>00</mode> + <owner>0</owner> + <group>0</group> + </permissions> + </target> +</volume></pre> <h3>Example disk attachment</h3> <p>Sheepdog images can be attached to Qemu guests. @@ -707,14 +707,14 @@ subdirectory relative to the gluster volume to use instead of the top-level directory of the volume.</p> <pre> - <pool type="gluster"> - <name>myglusterpool</name> - <source> - <name>volname</name> - <host name='localhost'/> - <dir path='/'/> - </source> - </pool></pre> +<pool type="gluster"> + <name>myglusterpool</name> + <source> + <name>volname</name> + <host name='localhost'/> + <dir path='/'/> + </source> +</pool></pre> <h3>Example volume output</h3> <p>Libvirt storage volumes associated with a gluster pool @@ -726,14 +726,14 @@ URI of the volume but it may be changed to a UUID of the volume in the future.</p> <pre> - <volume> - <name>myfile</name> - <key>gluster://localhost/volname/myfile</key> - <source> - </source> - <capacity unit='bytes'>53687091200</capacity> - <allocation unit='bytes'>53687091200</allocation> - </volume></pre> +<volume> + <name>myfile</name> + <key>gluster://localhost/volname/myfile</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> +</volume></pre> <h3>Example disk attachment</h3> <p>Files within a gluster volume can be attached to Qemu guests. @@ -773,14 +773,14 @@ <h3>Example pool input</h3> <pre> - <pool type="zfs"> - <name>myzfspool</name> - <source> - <name>zpoolname</name> - <device path="/dev/ada1"/> - <device path="/dev/ada2"/> - </source> - </pool></pre> +<pool type="zfs"> + <name>myzfspool</name> + <source> + <name>zpoolname</name> + <device path="/dev/ada1"/> + <device path="/dev/ada2"/> + </source> +</pool></pre> <h3>Valid pool format types</h3> <p> -- 2.8.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list