Skip to content

Commit

Permalink
- added favicon link to the documentation generating action
Browse files Browse the repository at this point in the history
  • Loading branch information
amkrajewski committed Feb 2, 2024
1 parent 093d612 commit d9b7712
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/generateDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
sed -i 's/assets/nimplex\/assets/g' nimplex.nim
nim doc --outdir:docs --index:on --git.url:https://github.com/amkrajewski/nimplex --git.commit:main --docInternal --project nimplex.nim
sed -i '26i<img src="../assets/logo.png" alt="Logo" style="width:200px;height:170px;margin:20px 0px 20px 20px;"/>' docs/nimplex.html
sed -i '12d'
sed -i '12d'
sed -i '12i<link rel="icon" href="favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon">' docs/nimplex.html
cp docs/nimplex.html docs/index.html
- name: Copy assets to docs
run: cp -r assets docs/assets
Expand Down

0 comments on commit d9b7712

Please sign in to comment.