Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2fba53

Browse files
committedMay 17, 2023
Api Reference favicon
1 parent 39b4430 commit b2fba53

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed
 

‎.github/workflows/apiref.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: "Run ApiGen"
4040
run: "apigen/vendor/bin/apigen -c apigen/apigen.neon --output docs -- src"
4141

42+
- name: "Copy favicon"
43+
run: "cp apigen/favicon.png docs/favicon.png"
44+
4245
- name: Upload artifact
4346
uses: actions/upload-pages-artifact@v1
4447
with:

‎apigen/apigen.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
parameters:
22
title: phpstan/phpdoc-parser
3+
themeDir: theme

‎apigen/favicon.png

2.05 KB
Loading

‎apigen/theme/blocks/head.latte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{define head}
2+
<link rel="icon" type="image/png" href="/phpdoc-parser/favicon.png">
3+
<script src="https://cdn.usefathom.com/script.js" data-site="UDESFNRN" defer></script>
4+
{/define}

0 commit comments

Comments
 (0)
Please sign in to comment.