Skip to content

Commit

Permalink
docs: add favicon (#10127)
Browse files Browse the repository at this point in the history
  • Loading branch information
papb authored and sushantdhiman committed Nov 6, 2018
1 parent 4ff79dc commit 9ecc11e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/plugins/esdoc-sequelize.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ exports.onHandleHTML = function(ev) {
$title.text($title.text() + ' | ' + esdocConfig.title);
}

$('head').append('<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />');

const $header = $('header');
$header.prepend('<a href="/"><img src="manual/asset/logo-small.png" class="header-logo" /></a>');
$('.repo-url-github').after('<a href="http://sequelize-slack.herokuapp.com/" class="slack-link"><img class="slack-logo" src="manual/asset/slack.svg"/>Join us on Slack</a>');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"test-docker": "npm run test-docker-unit && npm run test-docker-integration",
"test-docker-unit": "npm run test-unit",
"test-docker-integration": "env-cmd $npm_package_options_env_cmd npm run test-integration",
"docs": "esdoc && cp docs/ROUTER esdoc/ROUTER",
"docs": "esdoc && cp docs/ROUTER esdoc/ROUTER && cp docs/favicon.ico esdoc/favicon.ico",
"teaser": "node -e \"console.log('#'.repeat(process.env.DIALECT.length + 22) + '\\n# Running tests for ' + process.env.DIALECT + ' #\\n' + '#'.repeat(process.env.DIALECT.length + 22))\"",
"test-unit": "mocha $npm_package_options_mocha \"test/unit/**/*.js\"",
"test-unit-mysql": "cross-env DIALECT=mysql npm run test-unit",
Expand Down

0 comments on commit 9ecc11e

Please sign in to comment.