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 119d7d4 + d229b3f commit 8cf69f1Copy full SHA for 8cf69f1
src/layouts/Docs.tsx
@@ -34,6 +34,7 @@ import YouTube from "@/components/YouTube"
34
35
import { cn } from "@/lib/utils/cn"
36
import { getEditPath } from "@/lib/utils/editPath"
37
+import { addSlashes } from "@/lib/utils/url"
38
39
const baseHeadingClasses = "font-bold scroll-mt-40 break-words"
40
@@ -133,7 +134,7 @@ export const DocsLayout = ({
133
134
className="flex justify-between bg-background-highlight lg:pe-8"
135
dir={contentNotTranslated ? "ltr" : "unset"}
136
>
- <SideNav path={slug} />
137
+ <SideNav path={addSlashes(slug)} />
138
<MainArticle className="min-w-0 flex-1 px-8 pb-8 pt-8 md:px-16 md:pb-16 md:pt-12">
139
<H1 id="top">{frontmatter.title}</H1>
140
<FileContributors
0 commit comments