diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..3dcf0e5 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,14 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +version: 2 + +sphinx: + configuration: docs/conf.py + +build: + image: latest + +python: + version: 3.8 + install: + - requirements: docs-requirements.txt diff --git a/dev-requirements.txt b/dev-requirements.txt index 6ce5479..3ffaba9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -3,8 +3,5 @@ flake8~=3.7 isort~=4.3 black>=19.3b0,==19.* mypy==0.740 -sphinx~=2.1 -sphinx-rtd-theme~=0.4 -sphinx-autodoc-typehints~=1.10.2 pytest!=5.2.3 pytest-cov>=2.8 diff --git a/docs-requirements.txt b/docs-requirements.txt new file mode 100644 index 0000000..b9ffedb --- /dev/null +++ b/docs-requirements.txt @@ -0,0 +1,8 @@ +sphinx~=2.4 +sphinx-rtd-theme~=0.4 +sphinx-autodoc-typehints~=1.10.2 +# External +opentelemetry-api>= 0.5b0 +opentelemetry-sdk>= 0.5b0 +psutil>= 5.6.3 + diff --git a/tox.ini b/tox.ini index 1e23387..3968186 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = [testenv:docs] deps = - -c dev-requirements.txt + -c docs-requirements.txt sphinx sphinx-rtd-theme sphinx-autodoc-typehints