gitlab-pages: add favicon

This commit is contained in:
Thomas Bernard 2020-01-04 13:47:31 +01:00
parent 0caa162b50
commit 4874603ce7
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ pages:
script:
- "NOLUA=1 API=x11 make htmldoc"
- "mkdir -p public/htmldoc && cp doc/html/* public/htmldoc/"
- "cp share/grafx2/gfx2.png public/"
- "./.gitlab-page.sh"
- "cd public && tar xzf ../grafx2*doxygen.tgz"
artifacts:

View File

@ -25,6 +25,7 @@ echo "<html lang=\"en\">" >> ${OUTFILE}
echo "<head>" >> ${OUTFILE}
echo "<title>GrafX2</title>" >> ${OUTFILE}
echo "<link href=\"gfx2.css\" rel=\"stylesheet\" type=\"text/css\">" >> ${OUTFILE}
echo "<link href=\"gfx2.png\" rel=\"icon\" type=\"image/png\">" >> ${OUTFILE}
echo "</head>" >> ${OUTFILE}
echo "<body>" >> ${OUTFILE}
echo "<h1>GrafX2 version ${VERSION}</h1>" >> ${OUTFILE}