Update routing to use nested docs routes
cgen-adf5ca7dc7554bf681c5caaba31d22b2
This commit is contained in:
parent
24155a9b96
commit
26b89be122
1 changed files with 8 additions and 1 deletions
|
|
@ -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 />} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue