-
-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy path.readthedocs.yml
More file actions
30 lines (26 loc) · 741 Bytes
/
.readthedocs.yml
File metadata and controls
30 lines (26 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# .readthedocs.yml
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-lts-latest
tools: {python: "3.12"}
jobs:
pre_create_environment:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
- poetry config virtualenvs.create false
- poetry self add poetry-plugin-export
- poetry export
--only main --only docs
--extras check_laws --extras compatible_mypy
--format=requirements.txt
--output=requirements.txt
python:
install:
- requirements: requirements.txt
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
fail_on_warning: true
formats: all