Skip to content

Commit

Permalink
[7.17] Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Nov 2, 2023
1 parent eb9eb05 commit bf9ecaf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@ jobs:
- name: Lint the code
run: nox -s lint

docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python3.7 -m pip install nox
- name: Build the docs
run: nox -s docs

test-linux:
strategy:
fail-fast: false
Expand Down
15 changes: 10 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
version: 2
sphinx:
configuration: docs/sphinx/conf.py

build:
os: ubuntu-22.04
tools:
# To work around https://github.com/aio-libs/aiohttp/issues/7675, we need
# to set AIOHTTP_NO_EXTENSIONS to 1 but it has to be done in
# https://readthedocs.org/dashboard/elasticsearch-py/environmentvariables/
# because of https://github.com/readthedocs/readthedocs.org/issues/6311
python: "3"

python:
version: 3.7
install:
- method: pip
path: .
- requirements: dev-requirements.txt
- path: .

0 comments on commit bf9ecaf

Please sign in to comment.