mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-29 03:52:16 +00:00
66 lines
1.1 KiB
TypeScript
66 lines
1.1 KiB
TypeScript
import type { StaticSource } from '@/source';
|
|
|
|
export const source: StaticSource = {
|
|
files: [
|
|
{
|
|
type: 'page',
|
|
path: 'test.mdx',
|
|
data: {
|
|
title: 'Hello',
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: 'test.cn.mdx',
|
|
data: {
|
|
title: 'Hello Chinese',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'meta.en.json',
|
|
data: {
|
|
title: 'Docs English',
|
|
pages: ['test', 'nested', '...'],
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'meta.cn.json',
|
|
data: {
|
|
title: 'Docs Chinese',
|
|
pages: ['test', 'nested', '...'],
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: '/nested/test.en.mdx',
|
|
data: {
|
|
title: 'Nested Page',
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: '/nested/test.cn.mdx',
|
|
data: {
|
|
title: 'Nested Page Chinese',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: '/nested/meta.cn.json',
|
|
data: {
|
|
title: 'Nested Chinese',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: '/secret/meta.$.json',
|
|
data: {
|
|
title: 'Docs (Shared)',
|
|
pages: [],
|
|
},
|
|
},
|
|
],
|
|
};
|