Tianshou/.readthedocs.yaml
2023-12-04 11:47:08 +01:00

25 lines
731 B
YAML

# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_install:
- poetry install --with dev
pre_build:
- poetry config virtualenvs.create false
# Generate the Sphinx configuration for this Jupyter Book, so it builds.
- "poetry run jupyter-book config sphinx docs/"
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt