From 02c2d9ee424aeed12d44a12a27b1ab4ea98fe0ff Mon Sep 17 00:00:00 2001 From: Alex Hadley Date: Thu, 22 Aug 2024 14:22:30 -0400 Subject: [PATCH] Add .readthedocs.yaml --- .readthedocs.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..101b971 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.10" + jobs: + post_create_environment: + - pip install poetry==1.8.3 + post_install: + # See https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --all-extras --without dev + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry run python -m ipykernel install --user + +sphinx: + configuration: docs/conf.py