Skip to content

Commit 2c0ae72

Browse files
committed
fix: updated readthedocs config file, fixing failing build
1 parent 0be03e7 commit 2c0ae72

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.readthedocs.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
15
version: 2
26

7+
# Set the version of Python and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.11"
12+
jobs:
13+
post_create_environment:
14+
- pip install poetry
15+
- poetry config virtualenvs.create false
16+
post_install:
17+
- poetry install
18+
319
sphinx:
420
configuration: src/conf.py
521

622
submodules:
723
include: all
824
recursive: true
9-
10-
python:
11-
version: 3.8
12-
install:
13-
- method: pip
14-
path: .

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ myst-parser = "*"
2626
recommonmark = "^0.7.0"
2727

2828
[build-system]
29-
requires = ["poetry>=0.12"]
30-
build-backend = "poetry.masonry.api"
29+
requires = ["poetry-core"]
30+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)