diff --git a/packages/site/app/[lang]/docs/[[...slug]]/page.tsx b/packages/site/app/[lang]/docs/[[...slug]]/page.tsx index 5d8d64e..a8a8780 100644 --- a/packages/site/app/[lang]/docs/[[...slug]]/page.tsx +++ b/packages/site/app/[lang]/docs/[[...slug]]/page.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { coreLoader, platformLoader } from '@/lib/source'; import type { Metadata } from 'next'; import { DocsPage, DocsBody } from 'fumadocs-ui/page'; diff --git a/packages/site/app/[lang]/docs/layout.tsx b/packages/site/app/[lang]/docs/layout.tsx index 7c5d988..f37ec8e 100644 --- a/packages/site/app/[lang]/docs/layout.tsx +++ b/packages/site/app/[lang]/docs/layout.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { coreLoader, platformLoader } from '@/lib/source'; import { DocsLayout } from 'fumadocs-ui/layouts/docs'; import type { ReactNode } from 'react'; diff --git a/packages/site/app/[lang]/layout.tsx b/packages/site/app/[lang]/layout.tsx index c4224c8..19e4aed 100644 --- a/packages/site/app/[lang]/layout.tsx +++ b/packages/site/app/[lang]/layout.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import 'fumadocs-ui/style.css'; import { RootProvider } from 'fumadocs-ui/provider/next'; import { defineI18nUI } from 'fumadocs-ui/i18n'; diff --git a/packages/site/app/[lang]/page.tsx b/packages/site/app/[lang]/page.tsx index 859930b..eb15f38 100644 --- a/packages/site/app/[lang]/page.tsx +++ b/packages/site/app/[lang]/page.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { redirect, notFound } from 'next/navigation'; diff --git a/packages/site/app/api/search/route.ts b/packages/site/app/api/search/route.ts index 9b08e5c..2a7980d 100644 --- a/packages/site/app/api/search/route.ts +++ b/packages/site/app/api/search/route.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { coreLoader, platformLoader } from '@/lib/source'; import { createSearchAPI } from 'fumadocs-core/search/server'; diff --git a/packages/site/app/layout.config.tsx b/packages/site/app/layout.config.tsx index 5c361b0..7bd76a2 100644 --- a/packages/site/app/layout.config.tsx +++ b/packages/site/app/layout.config.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { type BaseLayoutProps } from 'fumadocs-ui/layouts/shared'; import { siteConfig } from '@/lib/site-config'; import Image from 'next/image'; diff --git a/packages/site/app/layout.tsx b/packages/site/app/layout.tsx index a23b363..711c95a 100644 --- a/packages/site/app/layout.tsx +++ b/packages/site/app/layout.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import 'fumadocs-ui/style.css'; import { RootProvider } from 'fumadocs-ui/provider/next'; import { defineI18nUI } from 'fumadocs-ui/i18n'; diff --git a/packages/site/lib/deep-merge.ts b/packages/site/lib/deep-merge.ts index 85ac06f..d203d7c 100644 --- a/packages/site/lib/deep-merge.ts +++ b/packages/site/lib/deep-merge.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + export function isObject(item: any): item is Record { return (item && typeof item === 'object' && !Array.isArray(item)); } diff --git a/packages/site/lib/i18n.ts b/packages/site/lib/i18n.ts index b3175cb..0a03c51 100644 --- a/packages/site/lib/i18n.ts +++ b/packages/site/lib/i18n.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { siteConfig } from './site-config'; import { defineI18n } from 'fumadocs-core/i18n'; diff --git a/packages/site/lib/site-config.ts b/packages/site/lib/site-config.ts index b061fc5..88f6ba0 100644 --- a/packages/site/lib/site-config.ts +++ b/packages/site/lib/site-config.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { deepMerge } from './deep-merge'; import objectDocsConfig from '@/docs.site.json'; diff --git a/packages/site/lib/source.ts b/packages/site/lib/source.ts index cfcd196..69daa6e 100644 --- a/packages/site/lib/source.ts +++ b/packages/site/lib/source.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { loader } from 'fumadocs-core/source'; import { core, platform } from '@/.source/server'; import { toFumadocsSource } from 'fumadocs-mdx/runtime/server'; diff --git a/packages/site/mdx-components.tsx b/packages/site/mdx-components.tsx index 8453726..57e1921 100644 --- a/packages/site/mdx-components.tsx +++ b/packages/site/mdx-components.tsx @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import defaultComponents from 'fumadocs-ui/mdx'; import type { MDXComponents } from 'mdx/types'; import { Steps, Step } from 'fumadocs-ui/components/steps'; diff --git a/packages/site/proxy.ts b/packages/site/proxy.ts index 7307cc8..8928588 100644 --- a/packages/site/proxy.ts +++ b/packages/site/proxy.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { createI18nMiddleware } from 'fumadocs-core/i18n/middleware'; import { i18n } from '@/lib/i18n'; diff --git a/packages/site/source.config.ts b/packages/site/source.config.ts index 410ade7..83b6748 100644 --- a/packages/site/source.config.ts +++ b/packages/site/source.config.ts @@ -1,3 +1,11 @@ +/** + * ObjectDocs + * Copyright (c) 2026-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import { defineConfig, defineDocs } from 'fumadocs-mdx/config'; import { siteConfig } from './lib/site-config'; import path from 'node:path';