docs: add version dropdown

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
Bobby DeSimone 2019-10-01 15:05:23 -07:00
parent 1e4496c2b9
commit 7cef246d53
No known key found for this signature in database
GPG key ID: AEE4CF12FE86D07E
8 changed files with 173 additions and 165 deletions

View file

@ -24,7 +24,17 @@ module.exports = {
nav: [
{ text: "Documentation", link: "/docs/" },
{ text: "Recipes", link: "/recipes/" },
{ text: "Community", link: "/community/" }
{ text: "Community", link: "/community/" },
{
text: "v0.3.1",
ariaLabel: "Version menu",
items: [
{ text: "🚧Dev", link: "https://master.docs.pomerium.io/docs" },
{ text: "v0.3.x", link: "https://0-3-0.docs.pomerium.io/docs" },
{ text: "v0.2.x", link: "https://0-2-0.docs.pomerium.io/docs" },
{ text: "v0.1.x", link: "https://0-1-0.docs.pomerium.io/docs" }
]
}
],
algolia: {
apiKey: "1653e881f3a6c17d3ad37f4d4c428e20",