Skip to content

Commit 6d97469

Browse files
markdanialMark Danial
andauthored
GRA-164: adds sitemap as build step to grapesjs (#6647)
Co-authored-by: Mark Danial <[email protected]>
1 parent ecb8ae6 commit 6d97469

File tree

3 files changed

+86
-1
lines changed

3 files changed

+86
-1
lines changed

docs/.vuepress/config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,8 @@ module.exports = {
145145
],
146146
},
147147
},
148-
plugins: [['@vuepress/google-analytics', { ga: 'UA-74284223-1' }]],
148+
plugins: [
149+
['@vuepress/google-analytics', { ga: 'UA-74284223-1' }],
150+
['sitemap', { hostname: 'https://grapesjs.com' }],
151+
],
149152
};

docs/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
"html-entities": "~1.4.0"
2222
},
2323
"devDependencies": {
24+
"chalk": "4.1.2",
2425
"@types/markdown-it": "14.1.2",
2526
"@vuepress/plugin-google-analytics": "1.8.2",
2627
"@vuepress/types": "1.9.10",
2728
"documentation": "14.0.3",
2829
"postcss": "8",
2930
"sass": "1.80.3",
31+
"vuepress-plugin-sitemap": "2.3.1",
3032
"vuepress": "1.9.10",
3133
"webpack": "4.0.0",
3234
"whatwg-fetch": "3.6.20"

pnpm-lock.yaml

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)