Skip to content

Commit 6093110

Browse files
authored
Merge pull request #15 from objectstack-ai/copilot/add-mit-license-header-again
2 parents e57d7ed + 682f7d3 commit 6093110

File tree

14 files changed

+112
-0
lines changed

14 files changed

+112
-0
lines changed

packages/site/app/[lang]/docs/[[...slug]]/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { coreLoader, platformLoader } from '@/lib/source';
210
import type { Metadata } from 'next';
311
import { DocsPage, DocsBody } from 'fumadocs-ui/page';

packages/site/app/[lang]/docs/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { coreLoader, platformLoader } from '@/lib/source';
210
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
311
import type { ReactNode } from 'react';

packages/site/app/[lang]/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import 'fumadocs-ui/style.css';
210
import { RootProvider } from 'fumadocs-ui/provider/next';
311
import { defineI18nUI } from 'fumadocs-ui/i18n';

packages/site/app/[lang]/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { redirect, notFound } from 'next/navigation';
210

311

packages/site/app/api/search/route.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { coreLoader, platformLoader } from '@/lib/source';
210
import { createSearchAPI } from 'fumadocs-core/search/server';
311

packages/site/app/layout.config.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { type BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
210
import { siteConfig } from '@/lib/site-config';
311
import Image from 'next/image';

packages/site/app/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import 'fumadocs-ui/style.css';
210
import { RootProvider } from 'fumadocs-ui/provider/next';
311
import { defineI18nUI } from 'fumadocs-ui/i18n';

packages/site/lib/deep-merge.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
export function isObject(item: any): item is Record<string, any> {
210
return (item && typeof item === 'object' && !Array.isArray(item));
311
}

packages/site/lib/i18n.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { siteConfig } from './site-config';
210
import { defineI18n } from 'fumadocs-core/i18n';
311

packages/site/lib/site-config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
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+
19
import { deepMerge } from './deep-merge';
210
import objectDocsConfig from '@/docs.site.json';
311

0 commit comments

Comments
 (0)