Skip to content

Commit 800894f

Browse files
committed
Fix doc deps
1 parent d786764 commit 800894f

File tree

3 files changed

+42
-48
lines changed

3 files changed

+42
-48
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,17 @@
55
# Required
66
version: 2
77

8-
# Set the version of Python and other tools you might need
98
build:
10-
os: ubuntu-20.04
9+
os: "ubuntu-22.04"
1110
tools:
12-
python: "3.9"
13-
# You can also specify other tool versions:
14-
# nodejs: "16"
15-
# rust: "1.55"
16-
# golang: "1.17"
11+
python: "3.12"
12+
jobs:
13+
post_create_environment:
14+
- pip install poetry
15+
post_install:
16+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
17+
1718

1819
# Build documentation in the docs/ directory with Sphinx
1920
sphinx:
2021
configuration: docs/source/conf.py
21-
22-
# If using Sphinx, optionally build your docs in additional formats such as PDF
23-
# formats:
24-
# - pdf
25-
26-
# Optionally declare the Python requirements required to build your docs
27-
python:
28-
install:
29-
- requirements: docs/requirements.txt

poetry.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ requests = "^2.32.3"
4141
websockets = "^13.0"
4242

4343
[tool.poetry.group.dev.dependencies]
44-
Sphinx = "^7.2.3"
45-
sphinx-rtd-theme = "^3.0.2"
4644
pytest = "^8.2.0"
4745
pytest-cov = "^5.0.0"
4846
flake8 = "^7.0.0"
@@ -54,6 +52,10 @@ Flask = "^2.0.3"
5452
pytest-xdist = "^3.5.0"
5553
mypy = "1.14.1"
5654

55+
[tool.poetry.group.docs.dependencies]
56+
sphinx = "^7.2.3"
57+
sphinx-rtd-theme = "^3.0.2"
58+
5759
[build-system]
5860
requires = ["poetry-core>=1.0.0"]
5961
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)