Skip to content

Commit

Permalink
ReadTheDocs and pkg_resources fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Sep 23, 2020
1 parent d8edd50 commit 83c5d15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ sphinx~=2.4
sphinx-rtd-theme~=0.4
sphinx-autodoc-typehints~=1.10.2

# Need to install the api/sdk in the venv for autodoc. Modifying sys.path
# doesn't work for pkg_resources.
./opentelemetry-api
./opentelemetry-sdk

# Required by ext packages
asgiref~=3.0
asyncpg>=0.12.0
Expand Down
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@


source_dirs = [
os.path.abspath("../opentelemetry-api/src/"),
os.path.abspath("../opentelemetry-sdk/src/"),
os.path.abspath("../opentelemetry-instrumentation/src/"),
]

Expand Down

0 comments on commit 83c5d15

Please sign in to comment.