mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
docs: add "latest" option to DocsVersionSelect based on main branch
This commit is contained in:
parent
8833bc53cb
commit
4818fd1dd3
1 changed files with 4 additions and 3 deletions
|
|
@ -7,10 +7,11 @@ import type { Props } from '@astrojs/starlight/props';
|
|||
<Select
|
||||
icon="starlight"
|
||||
label="version"
|
||||
value="develop"
|
||||
value="main"
|
||||
options={[
|
||||
{ label: 'develop', selected: import.meta.env.BASE_URL === '/develop', value: '/develop' },
|
||||
{ label: 'next', selected: import.meta.env.BASE_URL === '/next', value: '/next' },
|
||||
{ label: 'latest', selected: import.meta.env.BASE_URL === '/main', value: 'main' },
|
||||
{ label: 'develop', selected: import.meta.env.BASE_URL === '/develop', value: 'develop' },
|
||||
{ label: 'next', selected: import.meta.env.BASE_URL === '/next', value: 'next' },
|
||||
]}
|
||||
width="7em"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue