diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index dbc716839..fe5fd6023 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -19,7 +19,7 @@ categories: exclude-labels: - no-changelog -change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-template: "- $TITLE @$AUTHOR GH-$NUMBER" template: | diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a443cc29d..ff20e4cff 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -5,14 +5,33 @@ module.exports = { "Pomerium is a beyond-corp inspired, zero trust, open source identity-aware access proxy.", plugins: { sitemap: { - hostname: "https://www.pomerium.io" + hostname: "https://www.pomerium.io", }, "@vuepress/google-analytics": { - ga: "UA-129872447-2" - } + ga: "UA-129872447-2", + }, + "@vuepress/blog": { + directories: [ + { + id: "post", + dirname: "_posts", + path: "/posts/", + itemPermalink: "/posts/:year/:month/:day/:slug", + }, + ], + }, + "vuepress-plugin-mailchimp": { + title: "Sign up to be notified of new features and updates", + content: " ", + endpoint: + "https://pomerium.us19.list-manage.com/subscribe/post?u=76f0996a737c138396687fd6b&id=2f4f70cf07", + sitemap: { + hostname: "https://www.pomerium.io", + }, + }, }, markdown: { - externalLinkSymbol: false + externalLinkSymbol: false, }, themeConfig: { logo: "/logo-long-civez.png", @@ -38,13 +57,13 @@ module.exports = { { text: "v0.4.x", link: "https://0-4-0.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" } - ] - } + { text: "v0.1.x", link: "https://0-1-0.docs.pomerium.io/docs" }, + ], + }, ], algolia: { apiKey: "1653e881f3a6c17d3ad37f4d4c428e20", - indexName: "pomerium" + indexName: "pomerium", }, sidebar: { "/docs/": [ @@ -59,8 +78,8 @@ module.exports = { "releases", "upgrading", "CHANGELOG", - "FAQ" - ] + "FAQ", + ], }, { title: "Quick Start", @@ -74,8 +93,8 @@ module.exports = { "quick-start/helm", "quick-start/kubernetes", "quick-start/synology", - "quick-start/from-source" - ] + "quick-start/from-source", + ], }, { title: "Identity Providers", @@ -90,8 +109,8 @@ module.exports = { "identity-providers/gitlab", "identity-providers/google", "identity-providers/okta", - "identity-providers/one-login" - ] + "identity-providers/one-login", + ], }, { title: "Community", @@ -103,8 +122,8 @@ module.exports = { "community/", "community/contributing", "community/code-of-conduct", - "community/security" - ] + "community/security", + ], }, { title: "Reference", @@ -118,9 +137,9 @@ module.exports = { "reference/impersonation", "reference/programmatic-access", "reference/getting-users-identity", - "reference/production-deployment" - ] - } + "reference/production-deployment", + ], + }, ], "/recipes/": [ { @@ -129,8 +148,8 @@ module.exports = { collapsable: false, sidebarDepth: 1, - children: ["", "ad-guard", "vs-code-server", "kubernetes"] - } + children: ["", "ad-guard", "vs-code-server", "kubernetes"], + }, ], "/enterprise/": [ { @@ -138,8 +157,8 @@ module.exports = { type: "group", collapsable: false, sidebarDepth: 1, - children: [""] - } + children: [""], + }, ], "/configuration/": [ { @@ -147,9 +166,9 @@ module.exports = { type: "group", collapsable: false, sidebarDepth: 1, - children: ["", "examples"] - } - ] - } - } + children: ["", "examples"], + }, + ], + }, + }, }; diff --git a/docs/.vuepress/styles/palette.styl b/docs/.vuepress/styles/palette.styl index 18389e608..a3d256376 100644 --- a/docs/.vuepress/styles/palette.styl +++ b/docs/.vuepress/styles/palette.styl @@ -1,6 +1,6 @@ // colors $mainColor= #6E43E8 - +$offColor = #259C30 $sidebarColor=#FAFAFC $accentColor = #6E43E8 @@ -58,6 +58,27 @@ $MQMobileNarrow = 419px .dropdown-item color $textColor !important + +.newsletter + background-color $section-color + border-top 1px solid darken($section-color, 10%) + border-bottom 1px solid darken($section-color, 10%) + + &__wrap + margin 1.5rem auto + padding 1.8rem 2.3rem + border-radius 3px + box-sizing border-box + max-width $contentWidth !important + background #f8f8f8 + &__title + font-size 1.2rem + + &__content + margin-top 1.5rem + margin-bottom 1.5rem + line-height 1.7rem + @media (min-width: $MQMobile) .nav-links a &:hover, &.router-link-active @@ -71,9 +92,14 @@ $MQMobileNarrow = 419px color $navbar-text-color !important .nav-dropdown .dropdown-item - color $textColor !important - + color $textColor !important + .newsletter + &__input + width 30% !important + &__button + width 15% !important @media (max-width: $MQMobile) .navbar .site-name - display: none !important \ No newline at end of file + display: none !important + \ No newline at end of file diff --git a/docs/.vuepress/theme/components/Home.vue b/docs/.vuepress/theme/components/Home.vue index b580cc4cf..b6813326a 100644 --- a/docs/.vuepress/theme/components/Home.vue +++ b/docs/.vuepress/theme/components/Home.vue @@ -63,6 +63,7 @@ +
- -