Skip to content

Commit 28a713d

Browse files
authored
Fix path recognition for docs directory in generate-docs.yml workflow
- Updated the generate-docs.yml workflow to ensure the correct path to the docs directory is used. - Added debugging steps to list the root directory and verify the existence of the docs directory. - Ensured full repository checkout by setting fetch-depth to 0 in actions/checkout. - Updated sphinx-build command to use the relative path docs/. This commit resolves issues with the workflow failing to locate the docs directory during Sphinx documentation generation.
1 parent b00e653 commit 28a713d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: ls -R
2020

2121
- name: Debug docs directory
22-
run: ls docs
22+
run: ls docs || echo "docs/ directory not found"
2323

2424
- name: Set up Python
2525
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)