feat: stubs for learn category (#2100)

This commit is contained in:
Simon Hyll
2024-05-01 22:01:15 +02:00
committed by GitHub
parent 54d8cffa54
commit 3f9a96ef2d
6 changed files with 65 additions and 3 deletions

View File

@@ -137,6 +137,11 @@ export default defineConfig({
collapsed: true,
autogenerate: { directory: 'distribute' },
},
{
label: 'Learn',
collapsed: true,
autogenerate: { directory: 'learn' },
},
{
label: 'Features & Recipes',
collapsed: true,
@@ -253,9 +258,9 @@ function i18nRedirect(from, to) {
locale === 'root'
? (routes[from] = to)
: (routes[`/${locale}/${from.replaceAll(/^\/*/g, '')}`] = `/${locale}/${to.replaceAll(
/^\/*/g,
''
)}`)
/^\/*/g,
''
)}`)
);
return routes;
}

View File

@@ -0,0 +1,13 @@
---
title: Learn
sidebar:
order: 0
label: Overview
badge:
text: WIP
variant: caution
---
import Stub from '@components/Stub.astro';
<Stub />

View File

@@ -0,0 +1,11 @@
---
title: Node.js as a sidecar
sidebar:
badge:
text: WIP
variant: caution
---
import Stub from '@components/Stub.astro';
<Stub />

View File

@@ -0,0 +1,11 @@
---
title: Python as a sidecar
sidebar:
badge:
text: WIP
variant: caution
---
import Stub from '@components/Stub.astro';
<Stub />

View File

@@ -0,0 +1,11 @@
---
title: Splashscreen
sidebar:
badge:
text: WIP
variant: caution
---
import Stub from '@components/Stub.astro';
<Stub />

View File

@@ -0,0 +1,11 @@
---
title: Custom Tokio runtime
sidebar:
badge:
text: WIP
variant: caution
---
import Stub from '@components/Stub.astro';
<Stub />