mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
40 lines
587 B
TypeScript
40 lines
587 B
TypeScript
import type { StaticSource } from '@/source';
|
|
|
|
export const source: StaticSource = {
|
|
files: [
|
|
{
|
|
type: 'page',
|
|
path: 'test.mdx',
|
|
data: {
|
|
title: 'Hello',
|
|
},
|
|
},
|
|
{
|
|
type: 'meta',
|
|
path: 'meta.json',
|
|
data: {
|
|
pages: ['test'],
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export const noMeta: StaticSource = {
|
|
files: [
|
|
{
|
|
type: 'page',
|
|
path: 'test.mdx',
|
|
data: {
|
|
title: 'Hello',
|
|
},
|
|
},
|
|
{
|
|
type: 'page',
|
|
path: 'hello/index.mdx',
|
|
data: {
|
|
title: 'Hello',
|
|
},
|
|
},
|
|
],
|
|
};
|