Files
siujamo f6fc7eeaae feat: add Kbd component and blog post about IDEA schema validation bug
Add a Kbd component with macOS special key support (⌘, ⌥, ⌃, ⇧, etc.),
export it from theme/index.tsx for use in MDX files.

Add blog posts (EN + ZH) documenting the IntelliJ IDEA application.yaml
schema validation bug caused by an overly broad fileMatch pattern in
SchemaStore, along with the quick fix.
2026-05-26 17:54:50 +08:00

30 lines
706 B
TypeScript

import "./index.css"
import type { DocLayoutProps } from "@rspress/core/theme-original"
import { DocLayout as OriginalDocLayout } from "@rspress/core/theme-original"
import { Tags } from "./components/Tags"
import { Author } from "./components/Author"
function DocLayout(props: DocLayoutProps) {
return (
<OriginalDocLayout
{...props}
beforeOutline={
<>
<Author className="mx-4 md:mx-0" />
{props.beforeOutline}
</>
}
afterDocContent={
<>
{props.afterDocContent}
<Tags />
</>
}
/>
)
}
export * from "@rspress/core/theme-original"
export { DocLayout }
export { Kbd } from "./components/Kbd"