Commit 336dae18 authored by Maximilian Sprengholz's avatar Maximilian Sprengholz 😵
Browse files

CI var test

parent 7db2e08c
Pipeline #14801 passed with stages
in 34 seconds
......@@ -18,9 +18,9 @@ build:
script:
- cd docs
- >-
python3 dep/regexrep.py 'appendix.md' '(date:[\s][\S])\b.*$' 'date: "${DATE}"' # set date in yaml header of doc
python3 dep/regexrep.py 'appendix.md' '(subtitle:[\s][\S])\b.*$' 'subtitle: "Version <b>${CI_COMMIT_TAG}</b>"' # set version in yaml header of doc
- >-
python3 dep/regexrep.py 'appendix.md' '(subtitle:[\s][\S])\b.*$' 'subtitle: "Version <b>${CI_COMMIT_TAG}</b><hr>"' # set version in yaml header of doc
python3 dep/regexrep.py 'appendix.md' '(date:[\s][\S])\b.*$' 'date: "${DATE}<hr>"' # set date in yaml header of doc
- pandoc --filter pandoc-include --filter pandoc-crossref --citeproc --bibliography=dep/appendix.bib --csl=dep/journal-of-family-research.csl --number-sections --table-of-contents -c dep/empty.css -H dep/vue_extended_h.css appendix.md -H dep/lightbox.js -s -o appendix.html
- cp appendix.html index.html
- python3 dep/regexrep.py 'index.html' '../results/figures' 'figures' # fix links for pages (though usually no problem with base64 encoded .svg)
......@@ -39,7 +39,9 @@ build:
pages:
script:
- cp -R -f results/figures/ ../public/ # copy figures
- ls
- ls -al public
- cp -R -f results/figures/ public/ # copy figures
artifacts:
paths:
- public
......
This diff is collapsed.
......@@ -1434,7 +1434,10 @@
margin: 0;
padding: 0.7rem 0 0 0;
}
p.subtitle + hr {
p.date {
margin: 0;
}
p.date + hr {
margin-top: 1rem;
}
h1,
......
# pandoc call
pandoc --filter pandoc-include --filter pandoc-crossref --citeproc --bibliography=appendix.bib --csl=journal-of-family-research.csl --number-sections --table-of-contents -c ../public/css/vue_extended.css appendix.md -s -o test.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment