From 64f2d95a407022c33cc1009af94d71028f01fb28 Mon Sep 17 00:00:00 2001 From: Elliot <3186037+elliot-100@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:04:00 +0000 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2ae7716..b8b8b8d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,9 +19,15 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.13' - - run: poetry install --no-root - - run: poetry run pdoc spond_classes -o docs -d numpy -t docs_templates - + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + - name: Install project + run: poetry install --no-root + - name: Generate HTML docs with pdoc + run: poetry run pdoc spond_classes -o docs -d numpy -t docs_templates - uses: actions/upload-pages-artifact@v3 with: path: docs/