Jacky Zhao
2023-06-01 42d3a7de1711bbd40a2b6857e3bf7ff17685f5d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { PluginTypes } from "./plugins/types"
import { Theme } from "./theme"
 
export interface GlobalConfiguration {
  siteTitle: string,
  /** Whether to enable single-page-app style rendering. this prevents flashes of unstyled content and improves smoothness of Quartz */
  enableSPA: boolean,
  /** Glob patterns to not search */
  ignorePatterns: string[],
  theme: Theme
}
 
export interface QuartzConfig {
  configuration: GlobalConfiguration,
  plugins: PluginTypes,
}