From b1b7f24b94019da73e7af975c08f19c90bf26e06 Mon Sep 17 00:00:00 2001 From: carlocagnetta Date: Fri, 10 Nov 2023 15:03:33 +0100 Subject: [PATCH] Fix docs/requirements.txt --- .readthedocs.yaml | 8 ++++---- docs/requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 39bfaa7..57ee51a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,13 +11,14 @@ build: tools: python: "3.11" jobs: + 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/" - post_install: - - poetry install --with dev + # Build documentation in the docs/ directory with Sphinx # sphinx: # configuration: docs/conf.py @@ -25,5 +26,4 @@ build: # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: docs/requirements.txt - - pip install poetry + - requirements: docs/requirements.txt \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index 5d250f7..9bcc588 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -9,4 +9,5 @@ tqdm protobuf pettingzoo nbsphinx -recommonmark \ No newline at end of file +recommonmark +poetry \ No newline at end of file