diff --git a/tox.ini b/tox.ini index d8f9956cecf..12d5bd8c468 100644 --- a/tox.ini +++ b/tox.ini @@ -156,18 +156,20 @@ commands = [testenv:docs] deps = - -e {toxinidir}/opentelemetry-api - -e {toxinidir}/opentelemetry-sdk -e {toxinidir}/opentelemetry-python-contrib/exporter/opentelemetry-exporter-datadog - -e {toxinidir}/opentelemetry-instrumentation - -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-grpc -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-flask -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-django -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-requests + -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi -c {toxinidir}/dev-requirements.txt -r {toxinidir}/docs-requirements.txt +commands_pre = + pip install -e {toxinidir}/opentelemetry-api \ + -e {toxinidir}/opentelemetry-sdk \ + -e {toxinidir}/opentelemetry-instrumentation + changedir = docs commands =