updating for new public render

This commit is contained in:
brent s
2020-11-25 16:55:46 -05:00
parent 759132a207
commit 235bf577f6
8 changed files with 55 additions and 32 deletions

View File

@@ -2,20 +2,16 @@
if [[ $(id -u) == 0 ]];
then
# asciidoctor -B /opt/dev/resume -D /tmp/resume -n /opt/dev/resume/cv.adoc
#asciidoctor -D /srv/http/resume -n cv.adoc
#asciidoctor -D /srv/http/resume -n resume.adoc
asciidoctor -D /srv/http/resume -o cv.html -n cv.adoc
asciidoctor -D /srv/http/resume -o resume.html -n resume.adoc
asciidoctor-pdf -a filetype=pdf -D /srv/http/resume/pdf -n -d article cv.adoc
asciidoctor-pdf -a filetype=pdf -D /srv/http/resume/pdf -n -d article resume.adoc
DESTDIR=/srv/http/resume
else
#asciidoctor -D /tmp/cv.html -n cv.adoc
#asciidoctor -D /tmp/resume.html -n resume.adoc
asciidoctor -D /tmp/resume -o cv.html -n cv.adoc
asciidoctor -D /tmp/resume -n -o resume.html resume.adoc
asciidoctor-pdf -a filetype=pdf -D /tmp -n -d article cv.adoc
asciidoctor-pdf -a filetype=pdf -D /tmp -n -d article resume.adoc
DESTDIR=/tmp/resume
fi
# Use -n to number sections.
asciidoctor -D ${DESTDIR} -o cv.html cv.adoc
asciidoctor -D ${DESTDIR} -n -o resume.html resume.adoc
#asciidoctor-pdf -a filetype=pdf -D ${DESTDIR} -d article cv.adoc
asciidoctor-pdf -a filetype=pdf -D ${DESTDIR} cv.adoc
asciidoctor-pdf -a filetype=pdf -D ${DESTDIR} -d article resume.adoc