From 90df48471d324ef0c1b758549b7d5ecdeed84381 Mon Sep 17 00:00:00 2001 From: Ng Tze Kean Date: Fri, 16 Aug 2024 15:18:40 +0800 Subject: [PATCH] fix: sphinx.yml ref: https://stackoverflow.com/questions/37757151/the-sphinx-build-command-was-not-found --- .github/workflows/sphinx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 231c539..d74e2df 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -21,7 +21,7 @@ jobs: run: poetry install shell: bash - name: Build sphinx - run: cd docs/; make clean; make html; cd /; + run: python3 -m sphinx.cmd.build -b html docs/source/ docs/build/ shell: bash - name: Deploy to external repos uses: peaceiris/actions-gh-pages@v3