pomerium/docs/.vuepress/config.js
2019-04-06 23:35:20 -07:00

48 lines
921 B
JavaScript

// .vuepress/config.js
module.exports = {
title: "Pomerium",
description: "An open source identity-aware access proxy.",
plugins: [
[
'@vuepress/google-analytics',
{
'ga': 'UA-129872447-2'
}
]
],
themeConfig: {
repo: "pomerium/pomerium",
editLinks: true,
docsDir: "docs",
editLinkText: "Edit this page on GitHub",
lastUpdated: "Last Updated",
nav: [
{ text: "Quick Start", link: "/guide/" },
{ text: "Documentation", link: "/docs/" }
],
sidebar: {
"/guide/": guideSidebar("Quick Start"),
"/docs/": docsSidebar("Documentation")
}
}
};
function guideSidebar(title) {
return [
{
title,
collapsable: false,
children: ["", "helm", "kubernetes", "synology", "from-source"]
}
];
}
function docsSidebar(title) {
return [
{
title,
collapsable: false,
children: ["", "identity-providers", "signed-headers", "examples", "config-reference"]
}
];
}