From 785d1cce9cb6ee510058b851bc3a2bb66a5aef69 Mon Sep 17 00:00:00 2001 From: Orestis Herodotou Date: Tue, 15 Oct 2024 14:52:13 -0700 Subject: [PATCH] change dirs in read teh docs config --- docs/.readthedocs.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index 06ae73b8..2db68030 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -9,12 +9,15 @@ build: post_create_environment: # Install poetry # https://python-poetry.org/docs/#installing-manually - - pip install poetry + # - pip install poetry + - asdf plugin add poetry + - asdf install poetry latest + - asdf global poetry latest + - poetry config virtualenvs.create false post_install: # VIRTUAL_ENV needs to be set manually for now. # See https://github.com/readthedocs/readthedocs.org/pull/11152/ - - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install - - pwd && ls + - . "$READTHEDOCS_VIRTUALENV_PATH/bin/activate" && cd docs && poetry install mkdocs: - configuration: mkdocs.yml + configuration: docs/mkdocs.yml