Skip to content

Commit

Permalink
Add readthedocs build dependencies [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
monim67 committed Dec 9, 2023
1 parent 32d225a commit cb7d24b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
pre_install:
- pip install poetry==1.7.1
- poetry export --only docs --without-hashes -o requirements.txt

python:
install:
- requirements: requirements.txt

sphinx:
configuration: docs/conf.py
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ urllib3 = "^1.26.12"
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.20.0"
tox = "^3.24.5"

[tool.poetry.group.docs.dependencies]
sphinx-rtd-theme = "^1.0.0"

[build-system]
Expand Down

0 comments on commit cb7d24b

Please sign in to comment.