Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF generate target and scripts #1

Merged
merged 12 commits into from Oct 27, 2020
Next

Docker image and files needed to generate pdf

  • Loading branch information
mmicko committed Oct 21, 2020
commit e590b6b6591d4089a932958a851b50632294af18
@@ -0,0 +1,14 @@
FROM ubuntu:16.04

ENV DEBIAN_FRONTEND=noninteractive

RUN set -e -x ;\
apt -y update ;\
apt -y install \
make \
python3 \
latexmk python3-sphinx texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended; \
apt -y autoremove ;\
rm -rf /var/lib/apt/lists/*

WORKDIR /work
@@ -1,6 +1,9 @@
html:
$(MAKE) -C docs html

pdf:
$(MAKE) -C docs latexpdf

clean:
$(MAKE) -C docs clean
rm -rf docs/build
@@ -0,0 +1 @@
docker build -t="docbuild:1.0" .
@@ -0,0 +1 @@
docker run --user `id -u`:`id -g` --rm -v $(pwd):/work docbuild:1.0 "$@"
ProTip! Use n and p to navigate between commits in a pull request.