Set explicitly type of language in code-block directive.

It might happen, that on older version of Sphinx code-block directive
will fail without an argument - which is type of language/output/type
used by pygments for syntax highlight. We fix it in this patch.

Change-Id: I2b2ef73859fd7b86dc0c03af010570569854d568
This commit is contained in:
Roman Dobosz 2019-11-18 12:02:19 +01:00
parent ad4c460093
commit 5a8681a582
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ about the Neutron Ports will be stored (or any other SDN).
Currently, the pods are annotated with the vif information of the port Currently, the pods are annotated with the vif information of the port
assigned to it: assigned to it:
.. code-block:: .. code-block:: text
"kind": "Pod", "kind": "Pod",
"metadata": { "metadata": {

View File

@ -74,7 +74,7 @@ Single Node Test Environment
Once DevStack completes successfully, you should see output that looks Once DevStack completes successfully, you should see output that looks
something like this: something like this:
.. code-block:: .. code-block:: console
This is your host IP address: 192.168.5.10 This is your host IP address: 192.168.5.10
This is your host IPv6 address: ::1 This is your host IPv6 address: ::1

View File

@ -114,7 +114,7 @@ that is expected to be used for SR-IOV ports:
You should see default and eth1 interfaces. eth1 is the SR-IOV VF interface. You should see default and eth1 interfaces. eth1 is the SR-IOV VF interface.
.. code-block:: .. code-block:: console
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00