Skip to content

Commit 6b39c68

Browse files
committed
Include pdf docs to live doc
1 parent afb9964 commit 6b39c68

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/doc-build-pdf.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
eval $(sage-print-system-package-command auto --yes --no-install-recommends install zip)
5959
eval $(sage-print-system-package-command auto --spkg --yes --no-install-recommends install git texlive)
6060
61-
6261
- name: Add prebuilt tree as a worktree
6362
id: worktree
6463
run: |

.github/workflows/doc-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,15 @@ jobs:
202202
if: (success() || failure()) && steps.copy.outcome == 'success' && github.repository == 'sagemath/sage' && github.ref == 'refs/heads/develop'
203203
run: |
204204
set -ex
205+
export PATH="build/bin:$PATH"
206+
eval $(sage-print-system-package-command auto update)
207+
eval $(sage-print-system-package-command auto --yes --no-install-recommends install zip)
208+
eval $(sage-print-system-package-command auto --spkg --yes --no-install-recommends install git texlive)
205209
export SAGE_USE_CDNS=yes
206210
export SAGE_LIVE_DOC=yes
207211
export SAGE_JUPYTER_SERVER=binder:sagemath/sage-binder-env/dev
208212
make doc-clean doc-uninstall
209-
./config.status && make sagemath_doc_html-no-deps
213+
./config.status && make sagemath_doc_html-no-deps sagemath_doc_pdf-no-deps
210214
working-directory: ./worktree-image
211215
env:
212216
MAKE: make -j2 --output-sync=recurse
@@ -219,6 +223,7 @@ jobs:
219223
set -ex
220224
mkdir -p ./livedoc
221225
cp -r -L /sage/local/share/doc/sage/html ./livedoc
226+
cp -r -L /sage/local/share/doc/sage/pdf ./livedoc
222227
cp /sage/local/share/doc/sage/index.html ./livedoc
223228
zip -r livedoc.zip livedoc
224229

0 commit comments

Comments
 (0)