-
Notifications
You must be signed in to change notification settings - Fork 14
/
doczrc.js
33 lines (26 loc) · 1 KB
/
doczrc.js
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
import { css } from 'docz-plugin-css';
import DoczCalcitetheme from './docz/DoczCalciteTheme';
import doczPluginNetlify from 'docz-plugin-netlify';
export default {
plugins: [
// Enable CSS in mdx files (necessary for Toastify external CSS)
css(),
// Enable Netlify plugin to properly resolve routes
doczPluginNetlify()
],
htmlContext: {
favicon: 'public/favicon.png'
},
// Public folder where static assets can be referenced
public: '/docz/public',
// Wrapper component for each mdx file, used to wrap everything in CalciteThemeProvider
wrapper: '../../docz/ThemeWrapper',
// Ordering of the side menu, used here to put "Getting Started" first
menu: ['Getting Started', 'Customization & Theme', 'Calcite Icons'],
// Custom theme configuration
themeConfig: DoczCalcitetheme,
// Disable support for CodeSandbox for now, all our components just throw this
// error in the build:
// `Could not create Open in CodeSandbox { key: 'tooManyModules' }`
codeSandbox: false
};