diff --git a/.readthedocs.yml b/.readthedocs.yml index 1745a6a9..eebfa731 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,12 +6,11 @@ build: python: "3.11" jobs: post_create_environment: + - pip install poetry + - poetry config virtualenvs.create false - git clone -b $([ $READTHEDOCS_VERSION_NAME = "latest" ] && echo "main" || echo "dev") https://github.com/griptape-ai/griptape.git post_install: - - python -m pip install poetry - - poetry export --without-hashes -f requirements.txt -o requirements.txt - - cat requirements.txt - - python -m pip install -r requirements.txt + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs mkdocs: configuration: mkdocs.yml