Skip to content

Commit

Permalink
debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jun 30, 2024
1 parent 501a5a9 commit d873292
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,20 @@ jobs:
poetry config virtualenvs.create false
poetry install
- name: Check working directory and conf.py existence
# - name: Check working directory and conf.py existence
# run: |
# echo "Current Working Directory: $(pwd)"
# ls -la ./docs/source/
# if [ -f "./docs/source/conf.py" ]; then
# echo "conf.py found."
# else
# echo "conf.py not found."
# fi
- name: Print effective Sphinx config
run: |
echo "Current Working Directory: $(pwd)"
ls -la ./docs/source/
if [ -f "./docs/source/conf.py" ]; then
echo "conf.py found."
else
echo "conf.py not found."
fi
CONF_PY="$(pwd)/docs/source/conf.py"
echo "Using conf.py located at: $CONF_PY"
poetry run python -c "from sphinx.config import Config; config = Config.read('${CONF_PY}'); print(config.values)"
- name: Build documentation
run: |
Expand Down

0 comments on commit d873292

Please sign in to comment.