mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-29 04:14:54 +00:00
58 lines
998 B
TypeScript
58 lines
998 B
TypeScript
import type { StaticSource } from '@/source';
|
|
|
|
export const source: StaticSource = {
|
|
files: [
|
|
{
|
|
type: 'page',
|
|
path: 'en/test.mdx',
|
|
data: {
|
|
title: 'Hello',
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: 'cn/test.mdx',
|
|
data: {
|
|
title: 'Hello Chinese',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'en/meta.json',
|
|
data: {
|
|
title: 'Docs English',
|
|
pages: ['test', 'nested'],
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'cn/meta.json',
|
|
data: {
|
|
title: 'Docs Chinese',
|
|
pages: ['test', 'nested'],
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: 'en/nested/test.mdx',
|
|
data: {
|
|
title: 'Nested Page',
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: 'cn/nested/test.mdx',
|
|
data: {
|
|
title: 'Nested Page Chinese',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'cn/nested/meta.json',
|
|
data: {
|
|
title: 'Nested Chinese',
|
|
},
|
|
},
|
|
],
|
|
};
|