Jacky Zhao
2023-06-07 dde36fa5589a362b60b7b72eb7793a3f133e159c
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,
}