Skip to content

Commit 530d2a5

Browse files
authored
Update .readthedocs.yml (#394)
* Update .readthedocs.yml * Delete requirements.txt
1 parent c03498f commit 530d2a5

File tree

2 files changed

+14
-22
lines changed

2 files changed

+14
-22
lines changed

.readthedocs.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
# .readthedocs.yaml
12
version: 2
23

3-
python:
4-
version: 3.8
5-
install:
6-
- requirements: docs/requirements.txt
4+
# Set the version of Python and other tools you might need
5+
build:
6+
os: ubuntu-20.04
7+
tools: {python: "3.9"}
8+
jobs:
9+
pre_create_environment:
10+
- asdf plugin add poetry
11+
- asdf install poetry latest
12+
- asdf global poetry latest
13+
- poetry config virtualenvs.create false
14+
post_install:
15+
- poetry install
716

17+
# Build documentation in the docs/ directory with Sphinx
818
sphinx:
919
configuration: docs/conf.py
1020
fail_on_warning: true

docs/requirements.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)