Browse Source

Fix api-ref and docs building

The api-ref tox env is currently failing, see
http://zuul.openstack.org/build/fd7de0dbca1940b08878dd62ea750fe7 for one
example.

Fix it by using the proper requirements file.

Also, add bindep.txt file so that graphviz is available. The recent
change to not install the global fallback broke the docs building.

Change-Id: I3b76f1cb529a675da6ad9ba9bec3b72a66b460a1
changes/15/667215/2
Andreas Jaeger 2 years ago
parent
commit
bc12179412
  1. 2
      bindep.txt
  2. 1
      tox.ini

2
bindep.txt

@ -0,0 +1,2 @@
graphviz [!platform:gentoo]
media-gfx/graphviz [platform:gentoo]

1
tox.ini

@ -78,6 +78,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:api-ref]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html

Loading…
Cancel
Save