File tree Expand file tree Collapse file tree 14 files changed +0
-112
lines changed
Expand file tree Collapse file tree 14 files changed +0
-112
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-
91import { coreLoader , platformLoader } from '@/lib/source' ;
102import type { Metadata } from 'next' ;
113import { 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-
91import { coreLoader , platformLoader } from '@/lib/source' ;
102import { DocsLayout } from 'fumadocs-ui/layouts/docs' ;
113import 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-
91import 'fumadocs-ui/style.css' ;
102import { RootProvider } from 'fumadocs-ui/provider/next' ;
113import { 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-
91import { redirect , notFound } from 'next/navigation' ;
102
113
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-
91import { coreLoader , platformLoader } from '@/lib/source' ;
102import { createSearchAPI } from 'fumadocs-core/search/server' ;
113
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-
91import { type BaseLayoutProps } from 'fumadocs-ui/layouts/shared' ;
102import { siteConfig } from '@/lib/site-config' ;
113import 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-
91import 'fumadocs-ui/style.css' ;
102import { RootProvider } from 'fumadocs-ui/provider/next' ;
113import { 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-
91export function isObject ( item : any ) : item is Record < string , any > {
102 return ( item && typeof item === 'object' && ! Array . isArray ( item ) ) ;
113}
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-
91import { siteConfig } from './site-config' ;
102import { defineI18n } from 'fumadocs-core/i18n' ;
113
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-
91import { deepMerge } from './deep-merge' ;
102import objectDocsConfig from '@/docs.site.json' ;
113
You can’t perform that action at this time.
0 commit comments