Skip to content

Commit

Permalink
docs: marked v0.6.x the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jun 18, 2024
1 parent e455149 commit 79d8729
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 79d8729

Please sign in to comment.