Skip to content

Commit d9ef347

Browse files
authoredMay 18, 2020
fix: add missing plugins for docusaurus (#402)
1 parent 18441f6 commit d9ef347

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎website/docusaurus.config.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,16 @@ module.exports = {
7575
copyright: `${new Date().getFullYear()} HTMLHint. Built with Docusaurus.`,
7676
},
7777
},
78-
plugins: [path.resolve(__dirname, './plugins/docusaurus-plugin-hotjar')],
78+
plugins: [
79+
'@docusaurus/plugin-google-analytics',
80+
// path.resolve(__dirname, './plugins/docusaurus-plugin-hotjar'),
81+
[
82+
'@docusaurus/plugin-sitemap',
83+
{
84+
cacheTime: 600 * 1000,
85+
},
86+
],
87+
],
7988
presets: [
8089
[
8190
'@docusaurus/preset-classic',

‎website/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"homepage": "https://htmlhint.com",
1010
"dependencies": {
1111
"@docusaurus/core": "^2.0.0-alpha.54",
12+
"@docusaurus/plugin-google-analytics": "2.0.0-alpha.37",
13+
"@docusaurus/plugin-sitemap": "2.0.0-alpha.37",
1214
"@docusaurus/preset-classic": "^2.0.0-alpha.54",
1315
"classnames": "^2.2.6",
1416
"react": "^16.8.4",

0 commit comments

Comments
 (0)
Please sign in to comment.