Update routing to use nested docs routes

cgen-adf5ca7dc7554bf681c5caaba31d22b2
This commit is contained in:
Builder.io 2025-08-08 11:04:41 +00:00
parent 24155a9b96
commit 26b89be122

View file

@ -54,7 +54,14 @@ const App = () => (
<Route path="/labs" element={<ResearchLabs />} />
{/* Resource routes */}
<Route path="/docs" element={<Documentation />} />
<Route path="/docs" element={<DocsLayout />}>
<Route index element={<DocsOverview />} />
<Route path="tutorials" element={<DocsTutorials />} />
<Route path="getting-started" element={<Documentation />} />
<Route path="api" element={<Documentation />} />
<Route path="cli" element={<Documentation />} />
<Route path="examples" element={<Documentation />} />
</Route>
<Route path="/tutorials" element={<Tutorials />} />
<Route path="/blog" element={<Blog />} />
<Route path="/community" element={<Community />} />