Skip to content

Commit

Permalink
Fix a bug in doc-build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Nov 1, 2024
1 parent 5e03142 commit 15d2b4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
fi
# If so, then create CHANGES.html
if [[ -n "$PR_NUMBER" ]]; then
(cd doc && git commit -a -m 'new')
(cd doc && git add -A && git commit --quiet -m 'new')
# Wipe out chronic diffs of new doc against old doc before creating CHANGES.html
(cd doc && \
find . -name "*.html" | xargs sed -i -e '/This is documentation/ s/ built with GitHub PR .* for development/ for development/' \
Expand Down
2 changes: 0 additions & 2 deletions src/doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ doc-html-other: doc-html-reference

doc-html: doc-html-reference doc-html-other
SAGE_DOC=$$(sage --python -c "from sage.env import SAGE_DOC; print(SAGE_DOC)")
find $${SAGE_DOC}/html -type d -path "*/jupyter_execute"
find $${SAGE_DOC}/html -type d -path "*/jupyter_execute" -exec rm -rf {} +
find $${SAGE_DOC}/html -type d -path "*/jupyter_execute"

# Matches doc-pdf--developer, doc-pdf--reference-manifolds etc.
doc-pdf--%:
Expand Down

0 comments on commit 15d2b4f

Please sign in to comment.