mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
feat: stubs for learn category (#2100)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
13
src/content/docs/learn/index.mdx
Normal file
13
src/content/docs/learn/index.mdx
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: Learn
|
||||
sidebar:
|
||||
order: 0
|
||||
label: Overview
|
||||
badge:
|
||||
text: WIP
|
||||
variant: caution
|
||||
---
|
||||
|
||||
import Stub from '@components/Stub.astro';
|
||||
|
||||
<Stub />
|
||||
11
src/content/docs/learn/sidecar-nodejs.mdx
Normal file
11
src/content/docs/learn/sidecar-nodejs.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Node.js as a sidecar
|
||||
sidebar:
|
||||
badge:
|
||||
text: WIP
|
||||
variant: caution
|
||||
---
|
||||
|
||||
import Stub from '@components/Stub.astro';
|
||||
|
||||
<Stub />
|
||||
11
src/content/docs/learn/sidecar-python.mdx
Normal file
11
src/content/docs/learn/sidecar-python.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Python as a sidecar
|
||||
sidebar:
|
||||
badge:
|
||||
text: WIP
|
||||
variant: caution
|
||||
---
|
||||
|
||||
import Stub from '@components/Stub.astro';
|
||||
|
||||
<Stub />
|
||||
11
src/content/docs/learn/splashscreen.mdx
Normal file
11
src/content/docs/learn/splashscreen.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Splashscreen
|
||||
sidebar:
|
||||
badge:
|
||||
text: WIP
|
||||
variant: caution
|
||||
---
|
||||
|
||||
import Stub from '@components/Stub.astro';
|
||||
|
||||
<Stub />
|
||||
11
src/content/docs/learn/tokio-runtime.mdx
Normal file
11
src/content/docs/learn/tokio-runtime.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Custom Tokio runtime
|
||||
sidebar:
|
||||
badge:
|
||||
text: WIP
|
||||
variant: caution
|
||||
---
|
||||
|
||||
import Stub from '@components/Stub.astro';
|
||||
|
||||
<Stub />
|
||||
Reference in New Issue
Block a user