]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: s/guess/xml/ for codeblock lexer 31091/head
authorKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 04:34:19 +0000 (12:34 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 23 Oct 2019 14:07:58 +0000 (16:07 +0200)
this change silences the warning of

```
doc/rbd/qemu-rbd.rst:174: WARNING: Pygments lexer name 'guess' is not
known
```

see http://pygments.org/docs/lexers/, we should use "xml" for XML .

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit df226da996e468d2707b08eb012d54b4e37ffdc6)

doc/rbd/qemu-rbd.rst

index 80c5dcc4187b585238a2a6ec77cc50651cfa0064..80685cd6012f5a2151672ac7a2fcc44056255085 100644 (file)
@@ -171,7 +171,7 @@ edit`` to include the ``xmlns:qemu`` value. Then, add a ``qemu:commandline``
 block as a child of that domain. The following example shows how to set two
 devices with ``qemu id=`` to different ``discard_granularity`` values.
 
-.. code-block:: guess
+.. code-block:: xml
 
        <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
                <qemu:commandline>