不要怂,就是干,撸起袖子干!

Commit 9ecc11ef by Pedro Augusto de Paula Barbosa Committed by Sushant

docs: add favicon (#10127)

1 parent 4ff79dcc
Showing with 3 additions and 1 deletions
...@@ -11,6 +11,8 @@ exports.onHandleHTML = function(ev) { ...@@ -11,6 +11,8 @@ exports.onHandleHTML = function(ev) {
$title.text($title.text() + ' | ' + esdocConfig.title); $title.text($title.text() + ' | ' + esdocConfig.title);
} }
$('head').append('<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />');
const $header = $('header'); const $header = $('header');
$header.prepend('<a href="/"><img src="manual/asset/logo-small.png" class="header-logo" /></a>'); $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>'); $('.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>');
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
"test-docker": "npm run test-docker-unit && npm run test-docker-integration", "test-docker": "npm run test-docker-unit && npm run test-docker-integration",
"test-docker-unit": "npm run test-unit", "test-docker-unit": "npm run test-unit",
"test-docker-integration": "env-cmd $npm_package_options_env_cmd npm run test-integration", "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))\"", "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": "mocha $npm_package_options_mocha \"test/unit/**/*.js\"",
"test-unit-mysql": "cross-env DIALECT=mysql npm run test-unit", "test-unit-mysql": "cross-env DIALECT=mysql npm run test-unit",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!