docs: add 0.47 to docs (#13852)

This commit is contained in:
Julien Robert
2022-11-14 15:06:20 +01:00
committed by GitHub
parent fc21215803
commit f1fc44efd4
9 changed files with 61 additions and 41 deletions
+6 -10
View File
@@ -4,9 +4,6 @@
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
// const lastVersion = "v0.47";
const lastVersion = "current";
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "Cosmos SDK",
@@ -40,17 +37,16 @@ const config = {
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "/",
lastVersion: lastVersion,
lastVersion: "v0.47",
versions: {
current: {
path: "main",
// banner: "unreleased",
banner: "unreleased",
},
"v0.47": {
path: "v0.47",
label: "v0.47",
},
// "v0.47": {
// label: "v0.47",
// path: "v0.47",
// banner: "none",
// },
},
},
theme: {