From 08dcb4c1591222d722a7969ec2975ff12791b7ec Mon Sep 17 00:00:00 2001 From: MSalopek Date: Fri, 5 Jul 2024 15:08:09 +0200 Subject: [PATCH] docs: update displayed doc pages (#3188) * docs: update shown pages * docs: update index * update versions with v18.0.0-docs * update versions with v18.0.0-docs * update versions with v18.0.0-docs * update versions * update docs main banners * chore: use v17.3.0-docs to rm banners * chore: use v17.3.0-docs to rm banners --- docs/docs/index.md | 6 +++--- docs/docusaurus.config.js | 13 +++++++++---- docs/versions.json | 3 ++- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index b925b87f138..cf465bc239b 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -5,10 +5,10 @@ sidebar_position: 1 --- :::tip -### **v17 Upgrade** -Cosmos Hub will be upgraded to [v17.1.0](https://github.com/cosmos/gaia/releases/tag/v17.1.0) at block height: **[20,739,800](https://www.mintscan.io/cosmos/blocks/20739800)** +### **Gaia v18 Upgrade** +Cosmos Hub will be upgraded to [v18.0.0](https://github.com/cosmos/gaia/releases/tag/v18.0.0) at block height: [21,330,500](https://www.mintscan.io/cosmos/block/21330500). -To upgrade from v16.0.0 check the [**upgrade guide**](https://github.com/cosmos/gaia/blob/release/v17.1.x/UPGRADING.md) +To upgrade from v17.3.0 check the [upgrade guide](https://github.com/cosmos/gaia/blob/v18.0.0/UPGRADING.md). ::: ![Welcome to the Cosmos Hub](images/cosmos-hub-image.jpg) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 87152e2daca..68805f91835 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -53,16 +53,21 @@ const config = { docs: { routeBasePath: "/", sidebarPath: require.resolve("./sidebars.js"), - lastVersion: "v17.1.0", + lastVersion: "v17.3.0-docs", versions: { current: { path: "main", label: "Unreleased (main)", banner: "unreleased", }, - "v17.1.0": { - path: "v17.1.0", - label: "On chain (v17.1.0)", + "v17.3.0-docs": { + path: "v17.3.0-docs", + label: "On chain (v17.3.0)", + banner: "none", + }, + "v18.0.0-docs": { + path: "v18.0.0-docs", + label: "Pre-release (v18.0.0)", banner: "none", }, }, diff --git a/docs/versions.json b/docs/versions.json index 46964c5bda3..45bbaa018ec 100644 --- a/docs/versions.json +++ b/docs/versions.json @@ -1,3 +1,4 @@ [ - "v17.1.0" + "v17.3.0-docs", + "v18.0.0-docs" ] \ No newline at end of file