-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource.config.ts
46 lines (39 loc) · 1.04 KB
/
source.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import {defineConfig, defineCollections, frontmatterSchema, metaSchema} from 'fumadocs-mdx/config';
import {remarkInstall} from "fumadocs-docgen";
export const architectDocs = defineCollections({
type: 'doc',
dir: './content/architect',
schema: frontmatterSchema,
});
export const architectMeta = defineCollections({
type: 'meta',
dir: './content/architect',
schema: metaSchema,
});
export const scaleDocs = defineCollections({
type: 'doc',
dir: './content/scale',
schema: frontmatterSchema,
});
export const scaleMeta = defineCollections({
type: 'meta',
dir: './content/scale',
schema: metaSchema,
});
export const polyglotDocs = defineCollections({
type: 'doc',
dir: './content/polyglot',
schema: frontmatterSchema,
});
export const polyglotMeta = defineCollections({
type: 'meta',
dir: './content/polyglot',
schema: metaSchema,
});
export default defineConfig({
lastModifiedTime: "git",
generateManifest: true,
mdxOptions: {
remarkPlugins: [remarkInstall]
}
});