Skip to content

Commit

Permalink
Api Reference favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 17, 2023
1 parent 39b4430 commit b2fba53
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/apiref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: "Run ApiGen"
run: "apigen/vendor/bin/apigen -c apigen/apigen.neon --output docs -- src"

- name: "Copy favicon"
run: "cp apigen/favicon.png docs/favicon.png"

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
1 change: 1 addition & 0 deletions apigen/apigen.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
parameters:
title: phpstan/phpdoc-parser
themeDir: theme
Binary file added apigen/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apigen/theme/blocks/head.latte
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{define head}
<link rel="icon" type="image/png" href="/phpdoc-parser/favicon.png">
<script src="https://cdn.usefathom.com/script.js" data-site="UDESFNRN" defer></script>
{/define}

0 comments on commit b2fba53

Please sign in to comment.