chore: move mdx-components to docs folder
This commit is contained in:
parent
9e54932b27
commit
40b313a2f2
@ -1,6 +1,6 @@
|
||||
import AllPostsButton from '@/components/blog/all-posts-button';
|
||||
import BlogGrid from '@/components/blog/blog-grid';
|
||||
import { getMDXComponents } from '@/components/custom/mdx-components';
|
||||
import { getMDXComponents } from '@/components/docs/mdx-components';
|
||||
import { NewsletterCard } from '@/components/newsletter/newsletter-card';
|
||||
import { websiteConfig } from '@/config/website';
|
||||
import { LocaleLink } from '@/i18n/navigation';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { getMDXComponents } from '@/components/custom/mdx-components';
|
||||
import * as Preview from '@/components/docs';
|
||||
import { getMDXComponents } from '@/components/docs/mdx-components';
|
||||
import {
|
||||
HoverCard,
|
||||
HoverCardContent,
|
||||
|
@ -4,7 +4,7 @@ import { Separator } from '@/components/ui/separator';
|
||||
import { formatDate } from '@/lib/formatter';
|
||||
import type { ChangelogType } from '@/lib/source';
|
||||
import { CalendarIcon, TagIcon } from 'lucide-react';
|
||||
import { getMDXComponents } from '../custom/mdx-components';
|
||||
import { getMDXComponents } from '../docs/mdx-components';
|
||||
|
||||
interface ReleaseCardProps {
|
||||
releaseItem: ChangelogType;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { formatDate } from '@/lib/formatter';
|
||||
import type { PagesType } from '@/lib/source';
|
||||
import { CalendarIcon } from 'lucide-react';
|
||||
import { getMDXComponents } from '../custom/mdx-components';
|
||||
import { getMDXComponents } from '../docs/mdx-components';
|
||||
import { Card, CardContent } from '../ui/card';
|
||||
|
||||
interface CustomPageProps {
|
||||
|
@ -2,15 +2,8 @@ import { type InferPageType, loader } from 'fumadocs-core/source';
|
||||
import { createMDXSource } from 'fumadocs-mdx';
|
||||
import * as LucideIcons from 'lucide-react';
|
||||
import { createElement } from 'react';
|
||||
import {
|
||||
author,
|
||||
blog,
|
||||
category,
|
||||
changelog,
|
||||
docs,
|
||||
pages,
|
||||
} from '../../../.source';
|
||||
import { docsI18nConfig } from './i18n';
|
||||
import { author, blog, category, changelog, docs, pages } from '../../.source';
|
||||
import { docsI18nConfig } from './docs/i18n';
|
||||
|
||||
/**
|
||||
* Turn a content source into a unified interface
|
||||
|
Loading…
Reference in New Issue
Block a user