Fix yaml snippet for sphinx for python3
Something about this yaml snippet was causing: Could not lex literal_block as "yaml". Highlighting skipped. but only when run under python3. I'm guessing something related to utf-8, although it's not immediately apparent for me locally. I basically re-typed the name 'tooz-tox-py35-etcd3' and it started working. Go figure. Change-Id: Idded1004ffaebe51010fa52dad696f19f721d526
This commit is contained in:
parent
5790f129c4
commit
0525e713a2
@ -560,11 +560,11 @@ OpenStack projects with custom tox environments should base them on
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tooz-tox-py35-etcd3
|
name: tooz-tox-py35-etcd3
|
||||||
parent: openstack-tox
|
parent: openstack-tox
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: py35-etcd3
|
tox_envlist: py35-etcd3
|
||||||
|
|
||||||
Installation of 'sibling' requirements
|
Installation of 'sibling' requirements
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
1
tox.ini
1
tox.ini
@ -13,5 +13,4 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python2
|
|
||||||
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
|
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user