ReachableCEOResume/CurrentResume/non-cv/code/generateNonCv.sh

44 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
2024-11-18 23:17:28 +00:00
rm ../output/intermediate/CharlesNWybleShortResume.md
rm /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html
2024-11-19 00:45:05 +00:00
output_file="../output/intermediate/CharlesNWybleShortResume.md"
# Combine markdown files into single input file for pandoc
NonCvResumeInputFiles=(
"../@ReachableCEO/Resume/Non-CV/Skills.md"
"../@ReachableCEO/Resume/Non-CV/Projects.md"
)
2024-11-19 00:45:05 +00:00
#Pull in my contact info
cat "../../common/@ReachableCEO/Resume/Common/Contact-Info.md" >> $output_file
echo " " >> $output_file
#Pull in my skills
cat "../@ReachableCEO/Resume/Non-CV/Skills.md" >> $output_file
echo " " >> $output_file
#Pull in my projects
cat "../@ReachableCEO/Resume/Non-CV/Projects.md" >> $output_file
echo " " >> $output_file
#Pull in my work history
cat "../@ReachableCEO/Resume/Non-CV/Work-History.md" >> $output_file
echo " " >> $output_file
#Pull in my education info
cat "../../common/@ReachableCEO/Resume/Common/Education.md" >> $output_file
# Run pandoc to generate HTML/PDF/DOC into output dir
2024-11-18 17:40:26 +00:00
2024-11-18 19:27:58 +00:00
#First html, for resume.reachableceo.com use
2024-11-18 19:27:58 +00:00
pandoc \
--from=markdown \
--to=html \
-o /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html \
-c resume-css-stylesheet.css \
2024-11-19 00:45:05 +00:00
$output_file