From 79d872945e6f7140486b369e289b308fe787c9aa Mon Sep 17 00:00:00 2001 From: srdtrk Date: Tue, 18 Jun 2024 22:45:52 +0400 Subject: [PATCH] docs: marked v0.6.x the latest version --- docs/docusaurus.config.ts | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 4aaf7dd2..9bb11bb9 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -1,5 +1,5 @@ -import {themes as prismThemes} from 'prism-react-renderer'; -import type {Config} from '@docusaurus/types'; +import { themes as prismThemes } from 'prism-react-renderer'; +import type { Config } from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; const config: Config = { @@ -43,13 +43,17 @@ const config: Config = { routeBasePath: "/", sidebarCollapsed: false, // Select the latest version - lastVersion: "v0.5.x", + lastVersion: "v0.6.x", versions: { current: { label: 'main', path: 'main', banner: 'unreleased', }, + "v0.6.x": { + label: 'v0.6.x', + path: 'v0.6', + }, "v0.5.x": { label: 'v0.5.x', path: 'v0.5', @@ -158,10 +162,10 @@ const config: Config = { }, // github codeblock theme configuration codeblock: { - showGithubLink: true, - githubLinkLabel: 'View on GitHub', - showRunmeLink: false, - runmeLinkLabel: 'Checkout via Runme' + showGithubLink: true, + githubLinkLabel: 'View on GitHub', + showRunmeLink: false, + runmeLinkLabel: 'Checkout via Runme' }, } satisfies Preset.ThemeConfig, plugins: [