-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.readthedocs.yml
20 lines (20 loc) · 837 Bytes
/
.readthedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file was generated from bswck/[email protected].
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/0.0.2rc-240-gf4bdbb3/project/%23%25%20if%20docs%20%25%23.readthedocs.yml%23%25%20endif%20%25%23.jinja
#
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
mkdocs:
configuration: "mkdocs.yml"
build:
os: "ubuntu-lts-latest"
tools:
python: "3.8"
jobs:
post_install:
- "python -m pip install --upgrade --no-cache-dir poetry poetry-plugin-export"
- "poetry config virtualenvs.create false"
- "poetry install --only=docs --sync"
- "poetry export --only=docs -f requirements.txt -o requirements.txt"
- "python -m pip install -r requirements.txt"