docs: add sitemap

This commit is contained in:
Bobby DeSimone 2019-04-14 17:59:31 -07:00
parent 603e6a17b9
commit 96f4b8bd61
No known key found for this signature in database
GPG key ID: AEE4CF12FE86D07E
2 changed files with 24 additions and 8 deletions

View file

@ -2,14 +2,14 @@
module.exports = { module.exports = {
title: "Pomerium", title: "Pomerium",
description: "An open source identity-aware access proxy.", description: "An open source identity-aware access proxy.",
plugins: [ plugins: {
[ 'sitemap': {
'@vuepress/google-analytics', hostname: 'https://www.pomerium.io'
{ },
'ga': 'UA-129872447-2' '@vuepress/google-analytics': {
} ga: 'UA-129872447-2'
] }
], },
themeConfig: { themeConfig: {
repo: "pomerium/pomerium", repo: "pomerium/pomerium",
editLinks: true, editLinks: true,

16
package.json Normal file
View file

@ -0,0 +1,16 @@
{
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.47",
"vuepress": "^1.0.0-alpha.47",
"vuepress-plugin-sitemap": "^2.1.2"
},
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:deploy": "firebase deploy"
},
"dependencies": {
"esm": "^3.2.22"
}
}