Merge "Add missing api-ref envlist to tox"

This commit is contained in:
Zuul 2023-01-09 17:43:25 +00:00 committed by Gerrit Code Review
commit 1d90a83fc4
3 changed files with 11 additions and 1 deletions

1
api-ref/source/_static Symbolic link
View File

@ -0,0 +1 @@
../../doc/source/_static

View File

@ -1,4 +1,4 @@
sphinx>=3.3.1 # BSD
sphinx>=3.3.1,<5.0.0 # BSD
openstackdocstheme>=2.2.6 # Apache-2.0
sphinxcontrib-httpdomain>=1.7.0 # BSD
sphinxcontrib-pecanwsme>=0.10.0 # Apache-2.0

View File

@ -67,6 +67,15 @@ commands = sphinx-build -W --keep-going -b html doc/source doc/build/html
# sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
# make -C doc/build/pdf
[testenv:api-ref]
# This environment is called from CI scripts to test and publish
# the API Ref to docs.openstack.org.
deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = rm
commands =
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
[testenv:venv]
commands = {posargs}