Tianshou/.readthedocs.yaml

29 lines
854 B
YAML
Raw Normal View History

# .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:
2023-11-10 15:03:33 +01:00
post_install:
- poetry install --with dev
pre_build:
- pip install .
- poetry config virtualenvs.create false
# Generate the Sphinx configuration for this Jupyter Book, so it builds.
- "poetry run jupyter-book config sphinx docs/"
2023-11-10 15:03:33 +01:00
# Build documentation in the docs/ directory with Sphinx
2023-11-10 15:39:09 +01:00
sphinx:
configuration: docs/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
2023-11-10 15:03:33 +01:00
- requirements: docs/requirements.txt