docs: update site ui

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2019-08-03 22:28:18 -07:00
parent 87e214b1db
commit 0a530fbea2
No known key found for this signature in database
GPG key ID: AEE4CF12FE86D07E
214 changed files with 4004 additions and 930 deletions

View file

@ -1,7 +1,8 @@
// .vuepress/config.js
module.exports = {
title: "Pomerium",
description: "An open source identity-aware access proxy.",
description:
"Pomerium is a beyond-corp inspired, zero trust, open source identity-aware access proxy.",
plugins: {
sitemap: {
hostname: "https://www.pomerium.io"
@ -10,58 +11,99 @@ module.exports = {
ga: "UA-129872447-2"
}
},
extend: "@vuepress/theme-default",
markdown: {
externalLinkSymbol: false
},
themeConfig: {
repo: "pomerium/pomerium",
logo: "/logo-long-civez.png",
editLinks: true,
docsDir: "docs",
editLinkText: "Edit this page on GitHub",
lastUpdated: "Last Updated",
nav: [
{ text: "Documentation", link: "/docs/" },
{ text: "Quick Start", link: "/guide/" },
{ text: "Config Reference", link: "/reference/" },
{
text: "Versions",
items: [
{ text: "v0.0.5", link: "https://v0-0-5.docs.pomerium.io/" },
{ text: "v0.0.4", link: "https://v0-0-4.docs.pomerium.io/" }
]
}
{ text: "Community", link: "/community/" }
// {
// text: "Versions",
// items: [
// { text: "v0.1.0", link: "https://v0-1-0.docs.pomerium.io/" },
// { text: "v0.0.5", link: "https://v0-0-5.docs.pomerium.io/" },
// { text: "v0.0.4", link: "https://v0-0-4.docs.pomerium.io/" }
// ]
// }
],
sidebar: {
"/guide/": guideSidebar("Quick Start"),
"/docs/": docsSidebar("Documentation")
"/docs/": [
{
title: "",
type: "group",
collapsable: false,
sidebarDepth: 0,
children: ["", "background", "releases", "upgrading", "CHANGELOG"]
},
{
title: "Quick Start",
collapsable: false,
path: "/docs/quick-start/",
type: "group",
sidebarDepth: 0,
children: [
"quick-start/",
"quick-start/binary",
"quick-start/helm",
"quick-start/kubernetes",
"quick-start/synology"
]
},
{
title: "Identity Providers",
collapsable: false,
path: "/docs/identity-providers/",
type: "group",
sidebarDepth: 0,
children: [
"identity-providers/",
"identity-providers/azure",
"identity-providers/gitlab",
"identity-providers/google",
"identity-providers/okta",
"identity-providers/one-login"
]
},
{
title: "Reference",
collapsable: true,
path: "/docs/reference/",
type: "group",
collapsable: false,
sidebarDepth: 1,
children: [
"reference/certificates",
"reference/impersonation",
"reference/signed-headers",
"reference/examples",
"reference/reference"
]
}
],
"/community/": [
{
title: "Community",
type: "group",
collapsable: false,
sidebarDepth: 1,
children: [
"",
"contributing",
"developers-guide",
"code-of-conduct",
"security"
]
}
]
}
}
};
function guideSidebar(title) {
return [
{
title,
collapsable: false,
children: ["", "binary", "from-source", "helm", "kubernetes", "synology"]
}
];
}
function docsSidebar(title) {
return [
{
title,
collapsable: false,
children: [
"",
"identity-providers",
"signed-headers",
"certificates",
"examples",
"impersonation",
"programmatic-access",
"upgrading",
"contributing"
]
}
];
}