Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 3dad6c5

Browse files
authored
Merge pull request #65 from hectorhdzg/master
Adding docs config and requirements
2 parents e557a9a + ba53124 commit 3dad6c5

4 files changed

+23
-4
lines changed

.readthedocs.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
version: 2
4+
5+
sphinx:
6+
configuration: docs/conf.py
7+
8+
build:
9+
image: latest
10+
11+
python:
12+
version: 3.8
13+
install:
14+
- requirements: docs-requirements.txt

dev-requirements.txt

-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ flake8~=3.7
33
isort~=4.3
44
black>=19.3b0,==19.*
55
mypy==0.740
6-
sphinx~=2.1
7-
sphinx-rtd-theme~=0.4
8-
sphinx-autodoc-typehints~=1.10.2
96
pytest!=5.2.3
107
pytest-cov>=2.8

docs-requirements.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sphinx~=2.4
2+
sphinx-rtd-theme~=0.4
3+
sphinx-autodoc-typehints~=1.10.2
4+
# External
5+
opentelemetry-api>= 0.5b0
6+
opentelemetry-sdk>= 0.5b0
7+
psutil>= 5.6.3
8+

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ commands =
5656

5757
[testenv:docs]
5858
deps =
59-
-c dev-requirements.txt
59+
-c docs-requirements.txt
6060
sphinx
6161
sphinx-rtd-theme
6262
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)