Skip to content
Snippets Groups Projects
Commit a462648e authored by pruizf's avatar pruizf
Browse files

[dp] modif publish script [gt] modif gitignore

parent d5407782
Branches
Tags
No related merge requests found
Pipeline #36684 passed with stages
in 9 seconds
site/index.html
site/en.html
bla
#!/bin/bash
# convert to html ==============================================================
asciidoctor site/*adoc
# manual modifications to html created by asciidoctor ==========================
# english site -------------------------
# window title
sed -i -e 's/<title>Objectives<\/title>/<title>MeThAL Project<\/title>/' site/en.html
# add home link to top entry in ToC
sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr\/en.html">Navigation<\/a><\/div>/' site/en.html
# make it clear where corpus is
sed -i -e 's/"#_outputs">Outputs<\/a>/"#_outputs">Corpus \&amp; Outputs<\/a>/' site/en.html
# french site --------------------------
sed -i -e 's/<title>Objectifs<\/title>/<title>MeThAL<\/title>/' site/en.html
# add home link to top entry in ToC
sed -i -e 's/"toctitle">Navigation<\/div>/"toctitle"><a href="https:\/\/methal.pages.unistra.fr">Navigation<\/a><\/div>/' site/index.html
# copy to public repo ==========================================================
cp -r site/*html public
cp -r site/{img,styles} public/.
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