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.
2 parents b71eac3 + c8b0107 commit 36d5dddCopy full SHA for 36d5ddd
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,11 @@ export function DocsLayout({
399
</a>
400
) : (
401
<Link
402
- to="/$libraryId/$version/docs/$"
+ to={
403
+ child.to.startsWith('/')
404
+ ? child.to
405
+ : '/$libraryId/$version/docs/$'
406
+ }
407
params={{
408
libraryId,
409
version: params.version || 'latest',
0 commit comments