Skip to content
Snippets Groups Projects
Commit c656da5a authored by Jennifer Mankoff's avatar Jennifer Mankoff
Browse files

Added missing file to create pdfs of slides

parent c5b540ef
No related branches found
No related tags found
6 merge requests!12Accessibility website jen summer work,!9Q access 24 sp,!8Q access 24 sp,!5Latest update from Spring 2023,!4Latest update after pmp class,!3Updated content for week 3 and week 4 (week 4 still needs work)
#!/usr/bin/env bash
set -e
shopt -s globstar
apt-get update
apt-get install -y \
ca-certificates \
fonts-liberation \
libappindicator3-1 \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libc6 \
libcairo2 \
libcups2 \
libdbus-1-3 \
libexpat1 \
libfontconfig1 \
libgbm1 \
libgcc1 \
libglib2.0-0 \
libgtk-3-0 \
libnspr4 \
libnss3 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libstdc++6 \
libx11-6 \
libx11-xcb1 \
libxcb1 \
libxcomposite1 \
libxcursor1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxi6 \
libxrandr2 \
libxrender1 \
libxss1 \
libxtst6 \
lsb-release \
wget \
xdg-utils
npm install decktape
bundle exec jekyll build --config _config_production.yml -d remarkpdf -b "$(pwd)/remarkpdf"
cd remarkpdf
for html in slides/**/*.html; do
if [[ "$html" == *"unused"* ]]; then
continue
fi
set +e
$(npm bin)/decktape remark --chrome-arg=--disable-web-security --chrome-arg=--no-sandbox "$html" "../public/$html.pdf"
set -e
done
cd ../
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment