Skip to content

Commit c9b2a62

Browse files
committed
Simplify docs build
1 parent 95c2f25 commit c9b2a62

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,7 @@ jobs:
3838
- name: Build docs
3939
shell: bash -l {0}
4040
working-directory: docs
41-
run: |
42-
# Build docs with -W (warnings as errors) and --keep-going to see all issues
43-
# Capture exit code but continue to see all errors
44-
set +e
45-
make html SPHINXOPTS="-W --keep-going"
46-
BUILD_EXIT_CODE=$?
47-
set -e
48-
49-
# Report results
50-
if [ $BUILD_EXIT_CODE -ne 0 ]; then
51-
echo "❌ Documentation build failed with warnings or errors (exit code: $BUILD_EXIT_CODE)"
52-
exit $BUILD_EXIT_CODE
53-
else
54-
echo "✅ Documentation build completed successfully with no warnings or errors"
55-
fi
41+
run: make html
5642
- name: Upload docs artifact
5743
uses: actions/upload-artifact@v4
5844
with:

0 commit comments

Comments
 (0)