From aab3a4e36713c21b9416f7ed3902a7a367cf6193 Mon Sep 17 00:00:00 2001 From: Dario Coscia Date: Mon, 17 Mar 2025 16:08:38 +0100 Subject: [PATCH] modify doc workflows --- .github/workflows/sphinx-build.yml | 2 +- .github/workflows/testing_doc.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index 1bed54c..32e35ce 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -14,7 +14,7 @@ jobs: - name: Create the new documentation uses: ammaraskar/sphinx-action@7.4.7 with: - pre-build-command: "python3 -m pip install .[docs]" + pre-build-command: "python3 -m pip install .[doc]" docs-folder: "docs/" - name: Deploy diff --git a/.github/workflows/testing_doc.yml b/.github/workflows/testing_doc.yml index bdd63a5..04be96f 100644 --- a/.github/workflows/testing_doc.yml +++ b/.github/workflows/testing_doc.yml @@ -14,9 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Checkout Doc - uses: ammaraskar/sphinx-action@7.4.7 - with: - pre-build-command: "python3 -m pip install .[doc]" - build-command: "make html SPHINXOPTS='-W'" - docs-folder: "docs/" \ No newline at end of file + - name: Install Python dependencies + run: python3 -m pip install .[doc] + + - name: Build Documentation + run: | + make html SPHINXOPTS+='-W' + working-directory: docs/ \ No newline at end of file