]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: s/guess/xml/ for codeblock lexer 30953/head
authorKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 04:34:19 +0000 (12:34 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 04:58:49 +0000 (12:58 +0800)
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>
doc/rbd/qemu-rbd.rst

index 7b569b075b23311d83dd9bdc8b4ed4f4576c4d49..5b0143509c10c479b77aa8e7145a07d178ab6fb7 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>