Skip to content
Snippets Groups Projects
Commit 32fc9098 authored by Fabian Nuraddin Alexander Gabel's avatar Fabian Nuraddin Alexander Gabel :speech_balloon:
Browse files

fix build path for pandoc in yaml and create-yaml

parent 16e5e6f5
No related branches found
No related tags found
No related merge requests found
Pipeline #104062 failed
......@@ -65,6 +65,45 @@ pandoc:
- pandoc --standalone wleinen.md -o wleinen.html --mathjax
- pandoc --standalone wmackens.md -o wmackens.html --mathjax
- pandoc --standalone ymogge.md -o ymogge.html --mathjax
- pandoc --standalone ./build/ataraz.md -o ./build/ataraz.html --mathjax
- pandoc --standalone ./build/cseifert.md -o ./build/cseifert.html --mathjax
- pandoc --standalone ./build/dclemens.md -o ./build/dclemens.html --mathjax
- pandoc --standalone ./build/dgallaun.md -o ./build/dgallaun.html --mathjax
- pandoc --standalone ./build/druprecht.md -o ./build/druprecht.html --mathjax
- pandoc --standalone ./build/fboesch.md -o ./build/fboesch.html --mathjax
- pandoc --standalone ./build/fbuenger.md -o ./build/fbuenger.html --mathjax
- pandoc --standalone ./build/fgabel.md -o ./build/fgabel.html --mathjax
- pandoc --standalone ./build/fhamann.md -o ./build/fhamann.html --mathjax
- pandoc --standalone ./build/hruan.md -o ./build/hruan.html --mathjax
- pandoc --standalone ./build/hvoss.md -o ./build/hvoss.html --mathjax
- pandoc --standalone ./build/jangel.md -o ./build/jangel.html --mathjax
- pandoc --standalone ./build/jdornemann.md -o ./build/jdornemann.html --mathjax
- pandoc --standalone ./build/jfregin.md -o ./build/jfregin.html --mathjax
- pandoc --standalone ./build/jgrams.md -o ./build/jgrams.html --mathjax
- pandoc --standalone ./build/jgrossmann.md -o ./build/jgrossmann.html --mathjax
- pandoc --standalone ./build/jmeichsner.md -o ./build/jmeichsner.html --mathjax
- pandoc --standalone ./build/jpmzemke.md -o ./build/jpmzemke.html --mathjax
- pandoc --standalone ./build/jurizarna.md -o ./build/jurizarna.html --mathjax
- pandoc --standalone ./build/kalbrecht.md -o ./build/kalbrecht.html --mathjax
- pandoc --standalone ./build/kklioba.md -o ./build/kklioba.html --mathjax
- pandoc --standalone ./build/kkruse.md -o ./build/kkruse.html --mathjax
- pandoc --standalone ./build/mjanssen.md -o ./build/mjanssen.html --mathjax
- pandoc --standalone ./build/mlindner.md -o ./build/mlindner.html --mathjax
- pandoc --standalone ./build/mschulte.md -o ./build/mschulte.html --mathjax
- pandoc --standalone ./build/mwolkner.md -o ./build/mwolkner.html --mathjax
- pandoc --standalone ./build/pbaasch.md -o ./build/pbaasch.html --mathjax
- pandoc --standalone ./build/pgupta.md -o ./build/pgupta.html --mathjax
- pandoc --standalone ./build/rbeddig.md -o ./build/rbeddig.html --mathjax
- pandoc --standalone ./build/rukena.md -o ./build/rukena.html --mathjax
- pandoc --standalone ./build/sgoetschel.md -o ./build/sgoetschel.html --mathjax
- pandoc --standalone ./build/sleborne.md -o ./build/sleborne.html --mathjax
- pandoc --standalone ./build/sotten.md -o ./build/sotten.html --mathjax
- pandoc --standalone ./build/tsaathoff.md -o ./build/tsaathoff.html --mathjax
- pandoc --standalone ./build/vgriem.md -o ./build/vgriem.html --mathjax
- pandoc --standalone ./build/vtrapp.md -o ./build/vtrapp.html --mathjax
- pandoc --standalone ./build/wleinen.md -o ./build/wleinen.html --mathjax
- pandoc --standalone ./build/wmackens.md -o ./build/wmackens.html --mathjax
- pandoc --standalone ./build/ymogge.md -o ./build/ymogge.html --mathjax
artifacts:
paths:
- build/*.html
......
#!/bin/bash
namelist=`grep -h -i -m 1 -r "###\s*Collaborators (MAT):" topics/topic-template.md | sed -e 's/^###\s*Collaborators (MAT):\s*//I' -e 's/\s*,\s*/\n/g' | sort -u`
for name in $namelist
do
# pipeline to get full name of staff-member from mat-homepage
# -> wget the staff homepage of $name
# -> grep the line with the <h1>-tag, something like <h1>Fabian Gabel, M. Sc.</h1><div class='staffIntro'><p><img src='/home/fgabel/images/portrait.png' title='Foto von Fabian Gabel, M. Sc.' class='staffPicture'></p><div class='staffContact'>
# -> strip the string such that only the portion between <h1></h1> remains
# -> remove leading spaces
echo "Found collaborator $name"
# replace name in .md file
echo "- pandoc --standalone ./build/$name.md -o ./build/$name.html --mathjax" >> out.yml
done
\ No newline at end of file
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