-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.readthedocs.yml
35 lines (31 loc) · 1.03 KB
/
.readthedocs.yml
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
31
32
33
34
35
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# See https://github.com/earthobservations/wetterdienst for implementation
# https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/
# Required
version: 2
# Using test server while Python 3.9 not supported
# https://github.com/readthedocs/readthedocs-docker-images/pull/159#issuecomment-785048185
build:
os: "ubuntu-20.04"
tools:
python: "3.9"
jobs:
post_create_environment:
# Install poetry
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies
- poetry install --with docs
# Build documentation for mkdocs
mkdocs:
configuration: mkdocs.yml
# # Optionally set the version of Python and requirements required to build your docs
# python:
# install:
# - method: pip
# path: .
# - requirements: docs-requirements.txt