Skip to content

Commit

Permalink
ReadTheDocs and pkg_resources fix (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Sep 24, 2020
1 parent 4af1341 commit 7636547
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 7636547

Please sign in to comment.