Skip to content

Commit

Permalink
test the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jul 23, 2024
1 parent f3592f6 commit 36d8d0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/documentation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ jobs:
- name: Install documentation dependencies using Poetry
run: |
cd docs
poetry install --with doc # Install all dependencies including those from the main project
poetry config virtualenvs.create false # Avoid creating a virtual environment
poetry install # Install only the doc dependencies as specified in pyproject.toml
- name: Build documentation using Makefile
run: |
echo "Building documentation from: $(pwd)"
ls -l # Debug: List current directory contents
poetry run make html SPHINXOPTS=-v # Run Makefile in docs directory to build HTML docs with verbose output
poetry run make html # Run Makefile in docs directory to build HTML docs
working-directory: ${{ github.workspace }}/docs

- name: List built documentation
Expand Down Expand Up @@ -71,4 +72,4 @@ jobs:
# pwd # Print the current working directory
# ls -l ./build/ # List files in the build directory
# cat ./source/conf.py # Display the Sphinx configuration file
# working-directory: ${{ github.workspace }}/docs/build
# working-directory: ${{ github.workspace }}/docs/build

0 comments on commit 36d8d0b

Please sign in to comment.