Skip to content

Commit 535dc03

Browse files
committed
\fix: resolve Sphinx documentation build issues\n\n- Replace deprecated sphinx-quickstart -n flag with --no-sep\n- Fix sphinx build command to use sphinx-build directly instead of make\n- Remove dependency on generated Makefile for cross-platform compatibility\n- Documentation generation now works correctly on all platforms\n- Fixes CI documentation workflow failures"
1 parent 6296d44 commit 535dc03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/scripts/build_docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ generate_sphinx() {
9191
cd "$DOCS_DIR/sphinx"
9292

9393
# Initialize Sphinx project
94-
sphinx-quickstart -q -p "DiffEq" -a "DiffEq Team" -v "1.0.0" -r "1.0.0" -l "en" -n
94+
sphinx-quickstart -q -p "DiffEq" -a "DiffEq Team" -v "1.0.0" -r "1.0.0" -l "en" --no-sep
9595

9696
# Configure for C++ and Breathe
9797
cat > conf.py << 'EOF'
@@ -166,7 +166,7 @@ EOF
166166

167167
# Generate Sphinx documentation
168168
cd "$DOCS_DIR/sphinx"
169-
make html
169+
sphinx-build -b html . _build/html
170170

171171
if [ $? -eq 0 ]; then
172172
echo -e "${GREEN}✓ Sphinx documentation generated successfully${NC}"

0 commit comments

Comments
 (0)