diff --git a/astro.config.mjs b/astro.config.mjs index b54f44d024..4aa80c5bff 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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; } diff --git a/src/content/docs/learn/index.mdx b/src/content/docs/learn/index.mdx new file mode 100644 index 0000000000..917aec53cc --- /dev/null +++ b/src/content/docs/learn/index.mdx @@ -0,0 +1,13 @@ +--- +title: Learn +sidebar: + order: 0 + label: Overview + badge: + text: WIP + variant: caution +--- + +import Stub from '@components/Stub.astro'; + + diff --git a/src/content/docs/learn/sidecar-nodejs.mdx b/src/content/docs/learn/sidecar-nodejs.mdx new file mode 100644 index 0000000000..8e64a705d2 --- /dev/null +++ b/src/content/docs/learn/sidecar-nodejs.mdx @@ -0,0 +1,11 @@ +--- +title: Node.js as a sidecar +sidebar: + badge: + text: WIP + variant: caution +--- + +import Stub from '@components/Stub.astro'; + + diff --git a/src/content/docs/learn/sidecar-python.mdx b/src/content/docs/learn/sidecar-python.mdx new file mode 100644 index 0000000000..e5269139ab --- /dev/null +++ b/src/content/docs/learn/sidecar-python.mdx @@ -0,0 +1,11 @@ +--- +title: Python as a sidecar +sidebar: + badge: + text: WIP + variant: caution +--- + +import Stub from '@components/Stub.astro'; + + diff --git a/src/content/docs/learn/splashscreen.mdx b/src/content/docs/learn/splashscreen.mdx new file mode 100644 index 0000000000..90922265a9 --- /dev/null +++ b/src/content/docs/learn/splashscreen.mdx @@ -0,0 +1,11 @@ +--- +title: Splashscreen +sidebar: + badge: + text: WIP + variant: caution +--- + +import Stub from '@components/Stub.astro'; + + diff --git a/src/content/docs/learn/tokio-runtime.mdx b/src/content/docs/learn/tokio-runtime.mdx new file mode 100644 index 0000000000..6aacf772f5 --- /dev/null +++ b/src/content/docs/learn/tokio-runtime.mdx @@ -0,0 +1,11 @@ +--- +title: Custom Tokio runtime +sidebar: + badge: + text: WIP + variant: caution +--- + +import Stub from '@components/Stub.astro'; + +