mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 23:49:51 +00:00
MDX: Fix meta.{locale} file being excluded from defineDocs
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-mdx': patch
|
||||
---
|
||||
|
||||
Fix `meta.{locale}` file being excluded from `defineDocs`
|
||||
@@ -2,10 +2,7 @@ import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
|
||||
|
||||
export function UiOverview() {
|
||||
return (
|
||||
<Tabs
|
||||
items={['Docs Layout', 'Docs Layout (Mobile)']}
|
||||
className="bg-fd-background"
|
||||
>
|
||||
<Tabs items={['Docs Layout', 'Docs Layout (Mobile)']}>
|
||||
<Tab
|
||||
value="Docs Layout"
|
||||
className="not-prose text-sm text-center text-fd-muted-foreground overflow-auto"
|
||||
|
||||
@@ -131,7 +131,7 @@ export function defineDocs<
|
||||
// @ts-expect-error -- internal type inferring
|
||||
meta: defineCollections({
|
||||
type: 'meta',
|
||||
files: ['**/meta.{json,yaml}'],
|
||||
files: ['**/*.{json,yaml}'],
|
||||
dir,
|
||||
schema: metaSchema,
|
||||
...options?.meta,
|
||||
|
||||
Reference in New Issue
Block a user