Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teaching-materials
website
Commits
c656da5a
Commit
c656da5a
authored
2 years ago
by
Jennifer Mankoff
Browse files
Options
Downloads
Patches
Plain Diff
Added missing file to create pdfs of slides
parent
c5b540ef
No related branches found
Branches containing commit
No related tags found
6 merge requests
!12
Accessibility website jen summer work
,
!9
Q access 24 sp
,
!8
Q access 24 sp
,
!5
Latest update from Spring 2023
,
!4
Latest update after pmp class
,
!3
Updated content for week 3 and week 4 (week 4 still needs work)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/deployslidepdf
+61
-0
61 additions, 0 deletions
script/deployslidepdf
with
61 additions
and
0 deletions
script/deployslidepdf
0 → 100644
+
61
−
0
View file @
c656da5a
#!/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
../
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment