Skip to content

Commit b58e09f

Browse files
committed
Fix Read the Docs build
1 parent 34bfcf1 commit b58e09f

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,6 @@ jobs:
1919
- name: Lint the code
2020
run: nox -s lint
2121

22-
docs:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- name: Checkout Repository
26-
uses: actions/checkout@v2
27-
- name: Set up Python 3.7
28-
uses: actions/setup-python@v2
29-
with:
30-
python-version: 3.7
31-
- name: Install dependencies
32-
run: |
33-
python3.7 -m pip install nox
34-
- name: Build the docs
35-
run: nox -s docs
36-
3722
test-linux:
3823
strategy:
3924
fail-fast: false

.readthedocs.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
version: 2
2-
sphinx:
3-
configuration: docs/sphinx/conf.py
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
# To work around https://github.com/aio-libs/aiohttp/issues/7675, we need
7+
# to set AIOHTTP_NO_EXTENSIONS to 1 but it has to be done in
8+
# https://readthedocs.org/dashboard/elasticsearch-py/environmentvariables/
9+
# because of https://github.com/readthedocs/readthedocs.org/issues/6311
10+
python: "3"
411

512
python:
6-
version: 3.7
713
install:
8-
- method: pip
9-
path: .
1014
- requirements: dev-requirements.txt
15+
- path: .

0 commit comments

Comments
 (0)