File tree Expand file tree Collapse file tree 3 files changed +23
-26
lines changed Expand file tree Collapse file tree 3 files changed +23
-26
lines changed Original file line number Diff line number Diff line change @@ -17,24 +17,24 @@ jobs:
17
17
docs :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v2
21
- - name : Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
20
+ - uses : actions/checkout@v2
21
+ - name : Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
22
22
uses : actions/checkout@v2
23
23
with :
24
24
repository : open-telemetry/opentelemetry-python-contrib
25
25
ref : ${{ env.CONTRIB_REPO_SHA }}
26
26
path : opentelemetry-python-contrib
27
- - name : Set up Python py38
28
- uses : actions/setup-python@v2
29
- with :
30
- python-version : ' 3.8'
31
- - name : Build docs
32
- run : |
33
- pip install --upgrade tox
34
- tox -e docs
35
- - name : Publish to gh-pages
36
- uses : JamesIves/github-pages-deploy-action@2.0.2
37
- env :
38
- ACCESS_TOKEN : ${{ secrets.DocsPushToken }}
39
- BRANCH : gh-pages
40
- FOLDER : docs/_build/html/
27
+ - name : Set up Python py38
28
+ uses : actions/setup-python@v2
29
+ with :
30
+ python-version : ' 3.8'
31
+ - name : Build docs
32
+ run : |
33
+ pip install --upgrade tox
34
+ tox -e docs
35
+ - name : Publish to gh-pages
36
+ uses : JamesIves/github-pages-deploy-action@2.0.2
37
+ env :
38
+ ACCESS_TOKEN : ${{ secrets.DocsPushToken }}
39
+ BRANCH : gh-pages
40
+ FOLDER : docs/_build/html/
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ sphinx-autodoc-typehints~=1.10.2
6
6
# doesn't work for pkg_resources.
7
7
./opentelemetry-api
8
8
./opentelemetry-sdk
9
+ ./opentelemetry-python-contrib/exporter/opentelemetry-exporter-datadog
10
+ ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-grpc
11
+ ./opentelemetry-instrumentation
12
+ ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-requests
13
+ ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi
14
+ ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-django
15
+ ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-flask
9
16
10
17
# Required by ext packages
11
18
asgiref~=3.0
Original file line number Diff line number Diff line change @@ -154,19 +154,9 @@ commands =
154
154
155
155
[testenv:docs]
156
156
deps =
157
- -e {toxinidir}/opentelemetry-python-contrib/exporter/opentelemetry-exporter-datadog
158
- -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-grpc
159
- -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-flask
160
- -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-django
161
- -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-requests
162
- -e {toxinidir}/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi
163
157
-c {toxinidir}/dev-requirements.txt
164
158
-r {toxinidir}/docs-requirements.txt
165
159
166
- commands_pre =
167
- pip install -e {toxinidir}/opentelemetry-api \
168
- -e {toxinidir}/opentelemetry-sdk
169
-
170
160
changedir = docs
171
161
172
162
commands =
You can’t perform that action at this time.
0 commit comments