-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoczrc.js
More file actions
37 lines (30 loc) · 816 Bytes
/
doczrc.js
File metadata and controls
37 lines (30 loc) · 816 Bytes
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
/* Plugins */
import { css } from 'docz-plugin-css';
/* Project Properties */
import pkg from './package.json';
/* Theme Settings */
import theme from './settings/docs.theme';
/* Docz Configs */
export default {
base: `${(pkg.repository && pkg.repository.slug) ? pkg.repository.slug : ''}/`,
src : './src/',
dest: './docs/',
debug : false,
codeSandbox: false,
plugins: [
css({ preprocessor: 'postcss' }),
css({ preprocessor: 'sass' }),
],
theme : 'docz-theme-default',
themeConfig: theme,
htmlContext: {
head: {
links: [
{
rel : 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Roboto&display=swap',
},
],
},
},
};