Skip to content

Commit

Permalink
docs: update displayed doc pages (#3188)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
MSalopek authored Jul 5, 2024
1 parent 36b1331 commit 08dcb4c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 9 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
Expand Down
3 changes: 2 additions & 1 deletion docs/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[
"v17.1.0"
"v17.3.0-docs",
"v18.0.0-docs"
]

0 comments on commit 08dcb4c

Please sign in to comment.