Skip to content

Commit e0403a8

Browse files
committed
docs: rm ext
1 parent 88b4e92 commit e0403a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/docs/src/server/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ const NavLink = (props: { slug?: string; anchor?: JSX.Element }) => {
175175
)}
176176
href={href}
177177
>
178-
{props.slug.split("-").slice(1).join(" ") || props.slug}
178+
{props.slug.split("-").slice(1).join(" ") ||
179+
props.slug.split(".").at(0)}
179180
</a>
180181
</li>
181182
);

0 commit comments

Comments
 (0)