diff --git a/.github/workflows/sphinx-docs.yml b/.github/workflows/sphinx-docs.yml index 746b47e..2a1ac26 100644 --- a/.github/workflows/sphinx-docs.yml +++ b/.github/workflows/sphinx-docs.yml @@ -16,18 +16,18 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.x # Use an appropriate version for your project + python-version: 3.9 # Use an appropriate version for your project - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install sphinx sphinx-rtd-theme # Add other extensions if needed - # pip install -r requirements.txt # Install project dependencies + python -m pip install --upgrade pip + pip install sphinx sphinx-rtd-theme # Add other extensions if needed + pip install -e . # Install project dependencies - name: Build documentation run: | - cd docs - make html # Build the Sphinx documentation + cd docs + make html # Build the Sphinx documentation - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4