We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed70bb6 commit 27b0b70Copy full SHA for 27b0b70
1 file changed
src/components/DocsLayout.tsx
@@ -186,13 +186,13 @@ const useMenuConfig = ({
186
children: [
187
{
188
label: 'Home',
189
- to: '..',
+ to: '/$libraryId/$version',
190
},
191
...(frameworks.length > 1
192
? [
193
194
label: 'Frameworks',
195
- to: './framework',
+ to: '/$libraryId/$version/docs/framework',
196
197
]
198
: []),
@@ -399,7 +399,7 @@ export function DocsLayout({
399
</a>
400
) : (
401
<Link
402
- to="/$libraryId/$version/docs/$"
+ to={child.to.startsWith('/') ? child.to : "/$libraryId/$version/docs/$"}
403
params={{
404
libraryId,
405
version: params.version || 'latest',
0 commit comments