mirror of
https://github.com/stablyai/orca.git
synced 2026-09-21 16:02:20 +00:00
Publish the standalone docs site under docs/site and deploy it on stable desktop releases.
26 lines
572 B
TypeScript
26 lines
572 B
TypeScript
import { defineConfig, defineDocs, frontmatterSchema } from 'fumadocs-mdx/config'
|
|
import { z } from 'zod'
|
|
import { docsVersioning } from './versioning.config'
|
|
|
|
export const docs = defineDocs({
|
|
dir: docsVersioning.current.sourceDir,
|
|
docs: {
|
|
schema: frontmatterSchema.extend({
|
|
keywords: z.array(z.string()).optional()
|
|
})
|
|
}
|
|
})
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
rehypeCodeOptions: {
|
|
themes: {
|
|
light: 'github-light',
|
|
dark: 'github-dark-high-contrast'
|
|
}
|
|
},
|
|
remarkPlugins: [],
|
|
rehypePlugins: []
|
|
}
|
|
})
|