We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d141c9 commit 8696408Copy full SHA for 8696408
1 file changed
.github/workflows/_build.yml
@@ -263,7 +263,13 @@ jobs:
263
TEX=$(ls *.tex | head -n 1) && \
264
xelatex -interaction=nonstopmode -halt-on-error "$TEX" && \
265
xelatex -interaction=nonstopmode -halt-on-error "$TEX" )
266
- mv build/doc/*.pdf "datalab/data/doc/DataLab_${LNG}.pdf"
+ # Move the main document PDF (named after the .tex file). The
267
+ # build dir may also contain converted SVG→PDF assets
268
+ # (sponsors, icons) produced by sphinxcontrib.cairosvgconverter,
269
+ # so we cannot rely on a glob here.
270
+ MAIN_PDF=$(ls build/doc/*.tex | head -n 1)
271
+ MAIN_PDF="${MAIN_PDF%.tex}.pdf"
272
+ mv "$MAIN_PDF" "datalab/data/doc/DataLab_${LNG}.pdf"
273
done
274
ls -lh datalab/data/doc/
275
0 commit comments