Skip to content

Commit

Permalink
fix: add missing plugins for docusaurus (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias authored May 18, 2020
1 parent 18441f6 commit d9ef347
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,16 @@ module.exports = {
copyright: `${new Date().getFullYear()} HTMLHint. Built with Docusaurus.`,
},
},
plugins: [path.resolve(__dirname, './plugins/docusaurus-plugin-hotjar')],
plugins: [
'@docusaurus/plugin-google-analytics',
// path.resolve(__dirname, './plugins/docusaurus-plugin-hotjar'),
[
'@docusaurus/plugin-sitemap',
{
cacheTime: 600 * 1000,
},
],
],
presets: [
[
'@docusaurus/preset-classic',
Expand Down
2 changes: 2 additions & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"homepage": "https://htmlhint.com",
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.54",
"@docusaurus/plugin-google-analytics": "2.0.0-alpha.37",
"@docusaurus/plugin-sitemap": "2.0.0-alpha.37",
"@docusaurus/preset-classic": "^2.0.0-alpha.54",
"classnames": "^2.2.6",
"react": "^16.8.4",
Expand Down

0 comments on commit d9ef347

Please sign in to comment.