Skip to content

Commit

Permalink
Add .readthedocs.yml. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR authored Apr 3, 2024
1 parent 04cc09d commit a99793e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.12']
python-version: ['3.12'] # Keep in sync with .readthedocs.yml
tox-job: ["mypy", "docs", "pre-commit", "twinecheck"]
steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 14 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
formats: all
sphinx:
configuration: docs/conf.py

build:
os: ubuntu-22.04
tools:
python: "3.12" # Keep in sync with .github/workflows/tests.yml

python:
install:
- requirements: docs/requirements.txt
- path: .

0 comments on commit a99793e

Please sign in to comment.