File tree Expand file tree Collapse file tree 14 files changed +112
-0
lines changed
Expand file tree Collapse file tree 14 files changed +112
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { coreLoader , platformLoader } from '@/lib/source' ;
210import type { Metadata } from 'next' ;
311import { DocsPage , DocsBody } from 'fumadocs-ui/page' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { coreLoader , platformLoader } from '@/lib/source' ;
210import { DocsLayout } from 'fumadocs-ui/layouts/docs' ;
311import type { ReactNode } from 'react' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import 'fumadocs-ui/style.css' ;
210import { RootProvider } from 'fumadocs-ui/provider/next' ;
311import { defineI18nUI } from 'fumadocs-ui/i18n' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { redirect , notFound } from 'next/navigation' ;
210
311
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { coreLoader , platformLoader } from '@/lib/source' ;
210import { createSearchAPI } from 'fumadocs-core/search/server' ;
311
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { type BaseLayoutProps } from 'fumadocs-ui/layouts/shared' ;
210import { siteConfig } from '@/lib/site-config' ;
311import Image from 'next/image' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import 'fumadocs-ui/style.css' ;
210import { RootProvider } from 'fumadocs-ui/provider/next' ;
311import { defineI18nUI } from 'fumadocs-ui/i18n' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19export function isObject ( item : any ) : item is Record < string , any > {
210 return ( item && typeof item === 'object' && ! Array . isArray ( item ) ) ;
311}
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { siteConfig } from './site-config' ;
210import { defineI18n } from 'fumadocs-core/i18n' ;
311
Original file line number Diff line number Diff line change 1+ /**
2+ * ObjectDocs
3+ * Copyright (c) 2026-present ObjectStack Inc.
4+ *
5+ * This source code is licensed under the MIT license found in the
6+ * LICENSE file in the root directory of this source tree.
7+ */
8+
19import { deepMerge } from './deep-merge' ;
210import objectDocsConfig from '@/docs.site.json' ;
311
You can’t perform that action at this time.
0 commit comments