diff --git a/jekyll-dev.yml b/jekyll-dev.yml index c0ca979f3e15..9c93ee653301 100644 --- a/jekyll-dev.yml +++ b/jekyll-dev.yml @@ -151,6 +151,12 @@ defaults: layout: "docs-v2" version-index: 2 + - scope: + path: "gateway/3.0.x/" + values: + layout: "docs-v2" + version-index: 3 + - scope: path: "about" values: diff --git a/jekyll.yml b/jekyll.yml index d37ea17ebb05..7d0434ca3502 100644 --- a/jekyll.yml +++ b/jekyll.yml @@ -152,6 +152,12 @@ defaults: layout: "docs-v2" version-index: 2 + - scope: + path: "gateway/3.0.x/" + values: + layout: "docs-v2" + version-index: 3 + - scope: path: "about" values: diff --git a/tests/sidebar.test.js b/tests/sidebar.test.js index 1e16bfecb895..3851e057f825 100644 --- a/tests/sidebar.test.js +++ b/tests/sidebar.test.js @@ -61,7 +61,7 @@ test.describe("Version Switcher", () => { test.describe("Outdated version documentation", () => { const oldVersionSelector = 'blockquote:has-text("You are browsing documentation for an outdated version.") a'; - const latestGatewayVersion = "2.8.x"; + const latestGatewayVersion = "3.0.x"; test("does not show on the latest version", async ({ page }) => { await page.goto(`/gateway/${latestGatewayVersion}/install-and-run/rhel/`);