Skip to content

Commit

Permalink
nunomaduro#264 Added a favicon to the docs (nunomaduro#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMadClown authored and nunomaduro committed Oct 3, 2019
1 parent ceecfa9 commit 3982879
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file added art/heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 3982879

Please sign in to comment.