From 3982879f30e6f9752773cbe76d39b676b82d5683 Mon Sep 17 00:00:00 2001 From: MrMadClown <12624410+MrMadClown@users.noreply.github.com> Date: Thu, 3 Oct 2019 13:14:58 +0200 Subject: [PATCH] #264 Added a favicon to the docs (#281) --- art/heart.png | Bin 0 -> 1484 bytes composer.json | 2 +- docs/.vuepress/config.js | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 art/heart.png diff --git a/art/heart.png b/art/heart.png new file mode 100644 index 0000000000000000000000000000000000000000..6bd33360502149ba2ecb50080c933fcd9019bfe6 GIT binary patch literal 1484 zcmZ{k4NOy46o9Lc0fHTNZbN-l8GZc7!ocXHeHpX^Y#*&1)UsAO`P)R99khT}4Nj3} zr9*3Zls`cO(oInm)DHP;>1!Dk#6M)p5Gx>{Af<>yF$(UrCR@z1liYL8J@?#u&&hXl za}xv z>VMXFsQ|ImX(pv4)R@y%i+p3O+CEFa7iZyv_`9=lSFEf+F-i%wYVBta@kI(1F z$0sCg-@aoAdSiR+_(b=h2nU`;M;a_Mzl)LdHZJnwYVnmT97}<0e{k z7~ll#?!})g&PA?YR0&~8#LjwB#uTYE$EO40BP}^#X(pqwKM~TzjZG8XIy5<+ev~QX zq{C-pHIW@fnRhkG%uXU7ZglXkPG1ei;MM9r&ynwCmYe&|U6oXjyqzMGb|;XMoi-vp z!S0BrJzLoW8NeBZNPfhNoAl7Ru$TNEBDHuhx^bo^tbnG<^@1epRBL zo_N0vAJm6EIj6GL6-dbwq)Pk>__T2&B4lD4AZ&v({kY@c>4F3x*`+eI=}bfh z08XlpP<99Mdk_uMC}&7~dZXhL-{K15HiD*#bx5)l+(VBxh*(SyMGAb;9~2;yDc6eX zfW0nP^NXi|Qt6{BB$kP9$UF>wBU3fI+^d|4>y)^GLeqf`SJ?U|bCb2P;dzC8k`-8)P~qyjAC#Itvh z_+?apT1n&ua0FkY?$0jdl9k9BCl1G=htCirwV{uoC_;e)7z70pE;)ErXRIbUt;b8% z<|P5u5-C#%R1#LuPq$rP;(Z~*jkGnDl2Qd>)Ce1RbY~z3ahT&FEGWY$=ojoU~T>Q z*Gs$r&JC-!?$;UFgi(wPMQA6}P!*Rx4g1yGh^z*75e^$aMT5HtDkF(TW)aG(Vh?5b z&Rn`7;lfJA8kalK0Vt&t+(9pOwD=Yb5F=d7(W*e;HsPmlV+~?fBs;|a_y1vHViOfhHYYtU?^#<(OPCC`i7y^>y{-lTAcn}KXF^ jNYy0^%Y7wD4xE1f7Kc*X{=~S<_ASE^?C|qnCLH=3M>Nr< literal 0 HcmV?d00001 diff --git a/composer.json b/composer.json index ea09464a..78d13f14 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ ], "scripts": { "website:copy-changelog": "@php -r \"copy('CHANGELOG.md', 'docs/changelog.md');\"", - "website:copy-logo": "@php -r \"(is_dir('docs/.vuepress/public') || mkdir('docs/.vuepress/public')) && copy('art/logo_mixed.gif', 'docs/.vuepress/public/logo.gif');\"", + "website:copy-logo": "@php -r \"(is_dir('docs/.vuepress/public') || mkdir('docs/.vuepress/public')) && copy('art/logo_mixed.gif', 'docs/.vuepress/public/logo.gif') && copy('art/heart.svg', 'docs/.vuepress/public/heart.svg') && copy('art/heart.png', 'docs/.vuepress/public/heart.png');\"", "ecs:test": "ecs check src --ansi --config vendor/symplify/easy-coding-standard/config/set/clean-code.yaml", "phpstan:test": "phpstan analyse --ansi", "phpunit:test": "phpunit --colors=always", diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 8d82d28f..807d5db7 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -2,6 +2,10 @@ module.exports = { title: 'PHP Insights', description: 'The perfect starting point to analyze the code quality of your PHP projects', sidebar: true, + head: [ + ['link', { rel: 'icon', href: '/heart.png' }], + ['link', { rel: 'icon', href: '/heart.svg', type: 'image/svg+xml' }], + ], themeConfig: { repo: 'nunomaduro/phpinsights', sidebar: [